{extends "[shared]/window.tpl"}

{block tabs}
   {windowTab id='flapSites' label={'sites'|translate}}
{/block}

{block tabsContent}
    <div id="flapParameter" class="tab-pane fade active in boxStatic">
      <div class="wpj-main-panel-title">
         <h4>{'sites'|translate}</h4>
      </div>

       <div class="row">
         <div class="col-xs-12">
            <div class="wpj-form-group">
               <label>{'name'|translate}</label>
               <input type="text" class="form-control" name="data[name]" value="{$body.data.name}"/>
            </div>
         </div>
      </div>

       <div class="row">
         <div class="col-xs-6">
            <div class="wpj-form-group">
               <label>{'domain'|translate}</label>
               <input type="text" class="form-control" name="data[domain]" value="{$body.data.domain}"/>
            </div>
         </div>
          <div class="col-xs-6">
            <div class="wpj-form-group">
               <label>{'language'|translate}</label>
               <select class="selecter" name="data[id_language]" data-autocomplete="languages" data-preload="languages">
                  {if $body.data.id_language}
                      <option value="{$body.data.id_language}">{$body.data.id_language}</option>
                  {/if}
               </select>
            </div>
         </div>
      </div>
    </div>
{/block}