<!-- BEGIN: MAIN -->
<!-- BEGIN: MAIN -->

  <div class="row titles">
    <div class="col-md-12">
      <h4>{PHP.L.market_edit_product_title}</h4>
    </div>
  </div>
  <div class="row main">

		<div class="col-md-12">
			  {FILE "{PHP.cfg.themes_dir}/{PHP.usr.theme}/warnings.tpl"}
			  <form action="{PRDEDIT_FORM_SEND}" method="post" name="prdform" enctype="multipart/form-data">
			    <div class="row">				    
				    <div class="col-md-6">
				        <div class="form-group">
				          <label>{PHP.L.Title}:</label>
				          {PRDEDIT_FORM_TITLE}
				        </div>
				    </div>	
				    <div class="col-md-6">
					      <div class="form-group">
					        <label>{PHP.L.Category}:</label>
					        {PRDEDIT_FORM_CAT}
					      </div>
				    </div>		     
			    </div>
			    <div class="form-group">
			      <div class="panel-group" id="accordion">
			        <div class="panel panel-default">
			          <div class="panel-heading">
			            <h4 class="panel-title">
			              <a data-toggle="collapse" data-parent="#accordion" href="#pa-options">
			                {PHP.L.Options} <span class="caret"></span>
			              </a>
			            </h4>
			          </div>
			          <div class="panel-collapse collapse" id="pa-options">
			            <div class="panel-body">
			              <div class="row">
			                <!-- BEGIN: TAGS -->
			                <div class="col-md-6">
			                  <div class="form-group">
			                    <label>{PRDEDIT_FORM_TAGS_TITLE}:<span class="text-muted">({PRDEDIT_FORM_TAGS_HINT})</span></label>
			                    {PRDEDIT_FORM_TAGS|cot_rc_modify($this,"class='form-control'")}
			                  </div>
			                </div>
			                <!-- END: TAGS -->
			                <div class="col-md-6 <!-- IF !{PHP.usr.isadmin} --> hidden<!-- ENDIF -->">
			                  <div class="form-group">
			                    <label>{PHP.L.Parser}:</label>
			                    {PRDEDIT_FORM_PARSER}
			                  </div>
			                </div>
			                <!-- IF {PHP.usr.isadmin} -->
			                <div class="col-md-6">
			                  <div class="form-group">
			                    <label>{PHP.L.Alias}:</label>
			                    {PRDEDIT_FORM_ALIAS}
			                  </div>
			                </div>
			                 <!-- ENDIF -->
			                <!-- IF {PRDEDIT_FORM_LOCATION} -->
			                <div class="col-md-6">
			                  <div class="form-group">
			                    <label>{PHP.L.market_location}:</label>
			                    {PRDEDIT_FORM_LOCATION}
			                  </div>
			                </div>
			                <!-- ENDIF -->
			              </div>
			            </div>
			          </div>
			        </div>			      
			      </div>
			    </div>
			    <div class="form-group">
			      {PRDEDIT_FORM_TEXT}
			      <!-- IF {PRDEDIT_FORM_PFS} --><small>{PRDEDIT_FORM_PFS}</small><!-- ENDIF -->
			      <!-- IF {PRDEDIT_FORM_SFS} --><small>{PRDEDIT_FORM_SFS}</small><!-- ENDIF -->
			    </div>
		        <div class="row">				    
		    	     <div class="col-md-6">
		    	        <div class="form-group">
		    	          <label>{PHP.L.market_price} ({PHP.cfg.payments.valuta}):</label>
		    	          {PRDEDIT_FORM_COST} 
		    	        </div>
		    	    </div>	
					
		    	     <!-- IF {PHP.cot_plugins_active.marketorders} -->			    	       				    
	    	    	     <div class="col-md-6">
	    	    	        <div class="form-group">
	    	    	          <label>{PHP.L.marketorders_file}:</label>
	    	    	          {PRDEDIT_FORM_FILE}
	    	    	        </div>
	    	    	    </div>		
		    	    <!-- ENDIF -->	 
				
		        </div>	
			Сохранится после повторной поправки
			    <!-- IF {PHP|cot_module_active('files')} -->
		       		<label>{PHP.L.Images}:</label>		       		                 
		       		{PRDEDIT_FORM_ID|cot_files_filebox('market', $this, 'mainlogo', 'image', 10)}
			    <!-- ENDIF -->
	            <div class="row">				    
	        	    <div class="col-md-12">
	        	        <div class="form-group">
	        	          <label>{PHP.L.Delete}:</label>
	        	          {PRDEDIT_FORM_DELETE}
	        	        </div>
	        	    </div>		     
	            </div>
			    <div class="form-group">
			      <button class="btn btn-info" type="submit">{PHP.L.Submit}</button>
			    </div>
			  </form>
		</div>
</div>
<!-- END: MAIN -->