{{ header }}{{ column_left }}
<div id="content">
    <div class="page-header">
        <div class="container-fluid">
            <div class="pull-right">
                <button type="submit" form="form-blog2" 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-blog2" class="form-horizontal">
                    <fieldset>
                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-blog-limit"><span data-toggle="tooltip" title="{{ help_blog_limit }}">{{ entry_blog_limit }}</span></label>
                            <div class="col-sm-10">
                                <input type="text" name="module_blog_limit" value="{{ module_blog_limit }}" placeholder="{{ entry_blog_limit }}" id="input-blog-limit" class="form-control" />
                                {% if error_blog_limit %}
                                    <div class="text-danger">{{ error_blog_limit }}</div>
                                {% endif %}
                            </div>
                        </div>

                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-blog-meta-title">{{ entry_blog_meta_title }}</label>
                            <div class="col-sm-10">
                                <input type="text" name="module_blog_meta_title" value="{{ module_blog_meta_title }}" placeholder="{{ entry_blog_meta_title }}" id="input-blog-meta-title" class="form-control" />
                                {% if error_blog_meta_title %}
                                    <div class="text-danger">{{ error_blog_meta_title }}</div>
                                {% endif %}
                            </div>
                        </div>

                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-blog-meta-description">{{ entry_blog_meta_description }}</label>
                            <div class="col-sm-10">
                                <input type="text" name="module_blog_meta_description" value="{{ module_blog_meta_description }}" placeholder="{{ entry_blog_meta_description }}" id="input-blog-meta-description" class="form-control" />
                                {% if error_blog_meta_description %}
                                    <div class="text-danger">{{ error_blog_meta_description }}</div>
                                {% endif %}
                            </div>
                        </div>

                        <div class="form-group required">
                            <label class="col-sm-2 control-label" for="input-blog-meta-keyword">{{ entry_blog_meta_keyword }}</label>
                            <div class="col-sm-10">
                                <input type="text" name="module_blog_meta_keyword" value="{{ module_blog_meta_keyword }}" placeholder="{{ entry_blog_meta_keyword }}" id="input-blog-meta-keyword" class="form-control" />
                                {% if error_blog_meta_keyword %}
                                    <div class="text-danger">{{ error_blog_meta_keyword }}</div>
                                {% endif %}
                            </div>
                        </div>

                        <div class="form-group required">
                            <label class="col-sm-2 control-label">{{ entry_blog_image_size }}</label>
                            <div class="col-sm-10">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control" placeholder="{{ entry_blog_width }}" name="module_blog_width" value="{{ module_blog_width }}" />
                                    </div>
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control" placeholder="{{ entry_blog_height }}" name="module_blog_height" value="{{ module_blog_height }}" />
                                    </div>
                                </div>
                                {% if error_blog_width %}
                                    <div class="text-danger">{{ error_blog_width }}</div>
                                {% elseif error_blog_height %}
                                    <div class="text-danger">{{ error_blog_height }}</div>
                                {% endif %}
                            </div>
                        </div>

                        <div class="form-group required">
                            <label class="col-sm-2 control-label">{{ entry_blog_detail_image_size }}</label>
                            <div class="col-sm-10">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control" placeholder="{{ entry_blog_width }}" name="module_blog_detail_width" value="{{ module_blog_detail_width }}" />
                                    </div>
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control" placeholder="{{ entry_blog_height }}" name="module_blog_detail_height" value="{{ module_blog_detail_height }}" />
                                    </div>
                                </div>
                                {% if error_blog_detail_width %}
                                    <div class="text-danger">{{ error_blog_detail_width }}</div>
                                {% elseif error_blog_detail_height %}
                                    <div class="text-danger">{{ error_blog_detail_height }}</div>
                                {% endif %}
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label" for="date_format"><span data-toggle="tooltip" title="{{ help_date_format }}">{{ entry_date_format }}</span></label>
                            <div class="col-sm-10">
                              <input type="text" name="module_blog_date_format" value="{{ module_blog_date_format }}" placeholder="{{ placeholder_date_format }}" class="form-control" />
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
</div>
{{ footer }}