{{ header }}{{ column_left }}
<div id="content">
  <div class="page-header">
    <div class="container-fluid">
      <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-body">
				<form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-store-cart" class="form-horizontal">
					{{ store_cart_menu }}
					
					<div class="tab-content col-sm-8">
					<div class="tab-pane active" id="control-panel">
							
							<div class="crown-job">
								<fieldset>
									<legend>{{ text_crownjob }}</legend>
									<div class="form-group required">
										<label class="control-label col-sm-2">{{ entry_mail_template }}</label>
										<div class="col-sm-6">
											<select name="crownjob_storecart_template_id" class="form-control">
												{% for storecart_template in storecart_templates %}
												{% if storecart_template.storecart_template_id ==  crownjob_storecart_template_id %}										
												<option selected="selected" value="{{ storecart_template.storecart_template_id }}">{{ storecart_template.title }}</option>
												{% else %}
												<option  value="{{ storecart_template.storecart_template_id }}">{{ storecart_template.title }}</option>
												{% endif %}
												
												{% endfor %}
											</select> 
											{% if error_crownjob_template %}
											<div class="text-danger">{{ error_crownjob_template }}</div>
											{% endif %}
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-2 control-label" for="input-status">{{ entry_status }}</label>
										<div class="col-sm-6">
											<select name="crownjob_status" id="input-status" class="form-control">
												{% if crownjob_status %}
												<option value="1" selected="selected">{{ text_enabled }}</option>
												<option value="0">{{ text_disabled }}</option>
												{% else %}
												<option value="1">{{ text_enabled }}</option>
												<option value="0" selected="selected">{{ text_disabled }}</option>
												{% endif %}
											</select>
										</div>
									</div>
							<!-- 27 dec 2019 -->
									<div class="form-group">
										<label class="col-sm-2 control-label" for="input-status">{{ entry_duration }}</label>
										<div class="col-sm-6">
											<input type="number" name="crownjob_duration" value="{{ crownjob_duration }}" placeholder="{{ entry_duration }}" class="form-control"/>
										</div>
									</div>
							<!-- 27 dec 2019 -->
									
									<!-- new code -->
									  <div class="form-group required">
										<label class="col-sm-2 control-label" for="input-image-size">{{ entry_image_cart }}</label>
										<div class="col-sm-6">
										  <div class="row">
											<div class="col-sm-6">
											  <input type="text" name="crownjob_cartimage_width" value="{{ crownjob_cartimage_width }}" placeholder="{{ entry_width }}" id="input-image-size" class="form-control" />
											</div>
											<div class="col-sm-6">
											  <input type="text" name="crownjob_cartimage_height" value="{{ crownjob_cartimage_height }}" placeholder="{{ entry_height }}" class="form-control" />
											</div>
										  </div>
										  {% if error_store_cartimage %}
											<div class="text-danger">{{ error_store_cartimage }}</div>
											{% endif %}											
										</div>
									  </div>
									  <!-- new code -->
									  
									<div class="form-group">
										<label class="col-sm-2 control-label"> &nbsp; </label>
										<div class="col-sm-6">
											<button type="submit" form="form-setting" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary col-sm-12">{{ button_save }}</button>
										</div>
										</div>
										
										<div class="form-group">
										<label class="col-sm-2 control-label"> Cron Url </label>
										<div class="col-sm-6">
											<b>{{ cronurl }}</b>
										</div>
										</div>
									</div>
								</fieldset>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
<script type="text/javascript"><!--
$('#store_cart_menu li').removeClass('active');
$('#store_cart_menu .menu-control-panel').addClass('active');
//--></script>
</div>
{{ footer }}
