bestseller.twig (3839B)
1 {{ header }}{{ column_left }} 2 <div id="content"> 3 <div class="page-header"> 4 <div class="container-fluid"> 5 <div class="pull-right"> 6 <button type="submit" form="form-module" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button> 7 <a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div> 8 <h1>{{ heading_title }}</h1> 9 <ul class="breadcrumb"> 10 {% for breadcrumb in breadcrumbs %} 11 <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li> 12 {% endfor %} 13 </ul> 14 </div> 15 </div> 16 <div class="container-fluid"> 17 {% if error_warning %} 18 <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }} 19 <button type="button" class="close" data-dismiss="alert">×</button> 20 </div> 21 {% endif %} 22 <div class="panel panel-default"> 23 <div class="panel-heading"> 24 <h3 class="panel-title"><i class="fa fa-pencil"></i> {{ text_edit }}</h3> 25 </div> 26 <div class="panel-body"> 27 <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-module" class="form-horizontal"> 28 <div class="form-group"> 29 <label class="col-sm-2 control-label" for="input-name">{{ entry_name }}</label> 30 <div class="col-sm-10"> 31 <input type="text" name="name" value="{{ name }}" placeholder="{{ entry_name }}" id="input-name" class="form-control" /> 32 {% if error_name %} 33 <div class="text-danger">{{ error_name }}</div> 34 {% endif %} 35 </div> 36 </div> 37 <div class="form-group"> 38 <label class="col-sm-2 control-label" for="input-limit">{{ entry_limit }}</label> 39 <div class="col-sm-10"> 40 <input type="text" name="limit" value="{{ limit }}" placeholder="{{ entry_limit }}" id="input-limit" class="form-control" /> 41 </div> 42 </div> 43 <div class="form-group"> 44 <label class="col-sm-2 control-label" for="input-width">{{ entry_width }}</label> 45 <div class="col-sm-10"> 46 <input type="text" name="width" value="{{ width }}" placeholder="{{ entry_width }}" id="input-width" class="form-control" /> 47 {% if error_width %} 48 <div class="text-danger">{{ error_width }}</div> 49 {% endif %} 50 </div> 51 </div> 52 <div class="form-group"> 53 <label class="col-sm-2 control-label" for="input-height">{{ entry_height }}</label> 54 <div class="col-sm-10"> 55 <input type="text" name="height" value="{{ height }}" placeholder="{{ entry_height }}" id="input-height" class="form-control" /> 56 {% if error_height %} 57 <div class="text-danger">{{ error_height }}</div> 58 {% endif %} 59 </div> 60 </div> 61 <div class="form-group"> 62 <label class="col-sm-2 control-label" for="input-status">{{ entry_status }}</label> 63 <div class="col-sm-10"> 64 <select name="status" id="input-status" class="form-control"> 65 {% if status %} 66 <option value="1" selected="selected">{{ text_enabled }}</option> 67 <option value="0">{{ text_disabled }}</option> 68 {% else %} 69 <option value="1">{{ text_enabled }}</option> 70 <option value="0" selected="selected">{{ text_disabled }}</option> 71 {% endif %} 72 </select> 73 </div> 74 </div> 75 </form> 76 </div> 77 </div> 78 </div> 79 </div> 80 {{ footer }}