<?php $header; ?>
<?php $column_left; ?>

<div id="content">
  <div class="page-header">
    <div class="container-fluid">
      <div class="pull-right">
        <button type="submit" form="form-301redirect" data-toggle="tooltip" title="<?php button_save ?>" class="btn btn-primary"><i class="fa fa-save"></i></button>
        <a href="<?php cancel ?>" data-toggle="tooltip" title="<?php button_cancel ?>" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
      <h1><?php echo $heading_title; ?></h1>
      <ul class="breadcrumb">
        <?php foreach($breadcrums as $breadcrumb){ ?>
          <li><a href="<?php $breadcrumb['href']; ?>"><?php $breadcrumb['text']; ?></a></li>
        <?php } ?>
      </ul>
    </div>
  </div>
  <div class="container-fluid"><?php if ($error_warning){ ?>
      <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> <?php $error_warning; ?>
        <button type="button" class="close" data-dismiss="alert">&times;</button>
      </div>
    <?php } ?>
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="panel-title"><i class="fa fa-pencil"></i> <?php echo $text_form; ?></h3>
      </div>
      <div class="panel-body">
        <form action="<?php action ?>" method="post" enctype="multipart/form-data" id="form-301redirect" class="form-horizontal">
            <div class="form-group required">
              <label class="col-sm-2 control-label" for="url_from"><?php $entry_url_from; ?></label>
              <div class="col-sm-10">
                <input type="text" name="url_from" value="<?php url_from ?>" placeholder="<?php $entry_url_from; ?>" id="url_from" class="form-control"/>
                <?php if ($error_url_from){ ?>
                  <div class="text-danger"><?php $error_url_from; ?></div>
                <?php } ?>
              </div>
            </div>
            <div class="form-group required">
              <label class="col-sm-2 control-label" for="url_to"><?php $entry_url_to; ?></label>
              <div class="col-sm-10">
                <input type="text" name="url_to" value="<?php url_to ?>" placeholder="<?php $entry_url_to; ?>" id="url_to" class="form-control"/>
                <?php if ($error_url_to){ ?>
                  <div class="text-danger"><?php $error_url_to; ?></div>
                <?php } ?>
              </div>
            </div>
        </form>
      </div>
    </div>
  </div>
</div>

<?php $footer; ?>