{{ header }}{{ column_left }}
<div id="content">
  <div class="page-header">
    <div class="container-fluid">
      <div class="pull-right">
        <button type="submit" form="form-setting" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button>
        <a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
      <h1>{{ heading_title }}</h1>
      <ul class="breadcrumb">
        {% for breadcrumb in breadcrumbs %}
        <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
        {% endfor %}
      </ul>
    </div>
  </div>
  <div class="container-fluid">
    {% if error_warning %}
    <div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}
      <button type="button" class="close" data-dismiss="alert">&times;</button>
    </div>
    {% endif %}
    {% if success %}
    <div class="alert alert-success"><i class="fa fa-check-circle"></i> {{ success }}
      <button type="button" class="close" data-dismiss="alert">&times;</button>
    </div>
    {% endif %}
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_edit }}</h3>
      </div>
      <div class="panel-body">
        <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-setting" class="form-horizontal">
          <ul class="nav nav-tabs">
            <li class="active"><a href="#tab-option" data-toggle="tab">{{ tab_option }}</a></li>
            <li><a href="#tab-image" data-toggle="tab">{{ tab_image }}</a></li>
          </ul>
          <div class="tab-content">
            <div class="tab-pane active" id="tab-option">
              <fieldset>
                <legend>{{ text_article }}</legend>
                <div class="form-group">
                  <label class="col-sm-2 control-label"><span data-toggle="tooltip" title="{{ help_article_count }}">{{ entry_article_count }}</span></label>
                  <div class="col-sm-10">
                    <label class="radio-inline">
                      {% if configblog_article_count %}
                      <input type="radio" name="configblog_article_count" value="1" checked="checked" />
                      {{ text_yes }}
                      {% else %}
                      <input type="radio" name="configblog_article_count" value="1" />
                      {{ text_yes }}
                      {% endif %}
                    </label>
                    <label class="radio-inline">
                      {% if not configblog_article_count %}
                      <input type="radio" name="configblog_article_count" value="0" checked="checked" />
                      {{ text_no }}
                      {% else %}
                      <input type="radio" name="configblog_article_count" value="0" />
                      {{ text_no }}
                      {% endif %}
                    </label>
                  </div>
                </div>
                <div class="form-group required">
                  <label class="col-sm-2 control-label" for="input-catalog-limit"><span data-toggle="tooltip" title="{{ help_article_limit }}">{{ entry_article_limit }}</span></label>
                  <div class="col-sm-10">
                    <input type="text" name="configblog_article_limit" value="{{ configblog_article_limit }}" placeholder="{{ entry_article_limit }}" id="input-catalog-limit" class="form-control" />
                    {% if error_article_limit %}
                    <div class="text-danger">{{ error_article_limit }}</div>
                    {% endif %}
                  </div>
                </div>
                <div class="form-group required">
                  <label class="col-sm-2 control-label" for="input-list-description-limit"><span data-toggle="tooltip" title="{{ help_article_description_length }}">{{ entry_article_description_length }}</span></label>
                  <div class="col-sm-10">
                    <input type="text" name="configblog_article_description_length" value="{{ configblog_article_description_length }}" placeholder="{{ entry_article_description_length }}" id="input-list-description-limit" class="form-control" />
                    {% if error_article_description_length %}
                    <div class="text-danger">{{ error_article_description_length }}</div>
                    {% endif %}
                  </div>
                </div>
                <div class="form-group required">
                  <label class="col-sm-2 control-label" for="input-admin-limit"><span data-toggle="tooltip" title="{{ help_limit_admin }}">{{ entry_limit_admin }}</span></label>
                  <div class="col-sm-10">
                    <input type="text" name="configblog_limit_admin" value="{{ configblog_limit_admin }}" placeholder="{{ entry_limit_admin }}" id="input-admin-limit" class="form-control" />
                    {% if error_limit_admin %}
                    <div class="text-danger">{{ error_limit_admin }}</div>
                    {% endif %}
                  </div>
                </div>
				<div class="form-group">
                  <label class="col-sm-2 control-label"><span data-toggle="tooltip" title="{{ help_blog_menu }}">{{ entry_blog_menu }}</span></label>
                  <div class="col-sm-10">
                    <label class="radio-inline">
                      {% if configblog_blog_menu %}
                      <input type="radio" name="configblog_blog_menu" value="1" checked="checked" />
                      {{ text_yes }}
                      {% else %}
                      <input type="radio" name="configblog_blog_menu" value="1" />
                      {{ text_yes }}
                      {% endif %}
                    </label>
                    <label class="radio-inline">
                      {% if not configblog_blog_menu %}
                      <input type="radio" name="configblog_blog_menu" value="0" checked="checked" />
                      {{ text_no }}
                      {% else %}
                      <input type="radio" name="configblog_blog_menu" value="0" />
                      {{ text_no }}
                      {% endif %}
                    </label>
                  </div>
                </div>
				<div class="form-group">
                  <label class="col-sm-2 control-label">{{ entry_article_download }}</label>
                  <div class="col-sm-10">
                    <label class="radio-inline">
                      {% if configblog_article_download %}
                      <input type="radio" name="configblog_article_download" value="1" checked="checked" />
                      {{ text_yes }}
                      {% else %}
                      <input type="radio" name="configblog_article_download" value="1" />
                      {{ text_yes }}
                      {% endif %}
                    </label>
                    <label class="radio-inline">
                      {% if not configblog_article_download %}
                      <input type="radio" name="configblog_article_download" value="0" checked="checked" />
                      {{ text_no }}
                      {% else %}
                      <input type="radio" name="configblog_article_download" value="0" />
                      {{ text_no }}
                      {% endif %}
                    </label>
                  </div>
                </div>
              </fieldset>
              <fieldset>
                <legend>{{ text_review }}</legend>
                <div class="form-group">
                  <label class="col-sm-2 control-label"><span data-toggle="tooltip" title="{{ help_review }}">{{ entry_review }}</span></label>
                  <div class="col-sm-10">
                    <label class="radio-inline">
                      {% if configblog_review_status %}
                      <input type="radio" name="configblog_review_status" value="1" checked="checked" />
                      {{ text_yes }}
                      {% else %}
                      <input type="radio" name="configblog_review_status" value="1" />
                      {{ text_yes }}
                      {% endif %}
                    </label>
                    <label class="radio-inline">
                      {% if not configblog_review_status %}
                      <input type="radio" name="configblog_review_status" value="0" checked="checked" />
                      {{ text_no }}
                      {% else %}
                      <input type="radio" name="configblog_review_status" value="0" />
                      {{ text_no }}
                      {% endif %}
                    </label>
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-2 control-label"><span data-toggle="tooltip" title="{{ help_review_guest }}">{{ entry_review_guest }}</span></label>
                  <div class="col-sm-10">
                    <label class="radio-inline">
                      {% if configblog_review_guest %}
                      <input type="radio" name="configblog_review_guest" value="1" checked="checked" />
                      {{ text_yes }}
                      {% else %}
                      <input type="radio" name="configblog_review_guest" value="1" />
                      {{ text_yes }}
                      {% endif %}
                    </label>
                    <label class="radio-inline">
                      {% if not configblog_review_guest %}
                      <input type="radio" name="configblog_review_guest" value="0" checked="checked" />
                      {{ text_no }}
                      {% else %}
                      <input type="radio" name="configblog_review_guest" value="0" />
                      {{ text_no }}
                      {% endif %}
                    </label>
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-2 control-label"><span data-toggle="tooltip" title="{{ help_review_mail }}">{{ entry_review_mail }}</span></label>
                  <div class="col-sm-10">
                    <label class="radio-inline">
                      {% if configblog_review_mail %}
                      <input type="radio" name="configblog_review_mail" value="1" checked="checked" />
                      {{ text_yes }}
                      {% else %}
                      <input type="radio" name="configblog_review_mail" value="1" />
                      {{ text_yes }}
                      {% endif %}
                    </label>
                    <label class="radio-inline">
                      {% if not configblog_review_mail %}
                      <input type="radio" name="configblog_review_mail" value="0" checked="checked" />
                      {{ text_no }}
                      {% else %}
                      <input type="radio" name="configblog_review_mail" value="0" />
                      {{ text_no }}
                      {% endif %}
                    </label>
                  </div>
                </div>
              </fieldset>
            </div>
            <div class="tab-pane" id="tab-image">
              <div class="form-group required">
                <label class="col-sm-2 control-label" for="input-image-category-width">{{ entry_image_category }}</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-sm-6">
                      <input type="text" name="configblog_image_category_width" value="{{ configblog_image_category_width }}" placeholder="{{ entry_width }}" id="input-image-category-width" class="form-control" />
                    </div>
                    <div class="col-sm-6">
                      <input type="text" name="configblog_image_category_height" value="{{ configblog_image_category_height }}" placeholder="{{ entry_height }}" class="form-control" />
                    </div>
                  </div>
                  {% if error_image_category %}
                  <div class="text-danger">{{ error_image_category }}</div>
                  {% endif %}
                </div>
              </div>
              <div class="form-group required">
                <label class="col-sm-2 control-label" for="input-image-article-width">{{ entry_image_article }}</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-sm-6">
                      <input type="text" name="configblog_image_article_width" value="{{ configblog_image_article_width }}" placeholder="{{ entry_width }}" id="input-image-article-width" class="form-control" />
                    </div>
                    <div class="col-sm-6">
                      <input type="text" name="configblog_image_article_height" value="{{ configblog_image_article_height }}" placeholder="{{ entry_height }}" class="form-control" />
                    </div>
                  </div>
                  {% if error_image_article %}
                  <div class="text-danger">{{ error_image_article }}</div>
                  {% endif %}
                </div>
              </div>
              <div class="form-group required">
                <label class="col-sm-2 control-label" for="input-image-related">{{ entry_image_related }}</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-sm-6">
                      <input type="text" name="configblog_image_related_width" value="{{ configblog_image_related_width }}" placeholder="{{ entry_width }}" id="input-image-related" class="form-control" />
                    </div>
                    <div class="col-sm-6">
                      <input type="text" name="configblog_image_related_height" value="{{ configblog_image_related_height }}" placeholder="{{ entry_height }}" class="form-control" />
                    </div>
                  </div>
                  {% if error_image_related %}
                  <div class="text-danger">{{ error_image_related }}</div>
                  {% endif %}
                </div>
              </div>
            </div>
        </form>
      </div>
    </div>
  </div>
  </div>
{{ footer }}
