<div id="flapAdminSignIn" class="tab-pane fade in boxFlex">
   <h1 class="h4 main-panel-title">{'flapSignIn'|translate}</h1>
   <div class="form-group">
      <div class="col-md-2 control-label"><label>{'token'|translate}</label></div>
      {if !$body.data.id}
         <div class="col-md-6">Zobrazí se až po uložení</div>
      {else}
         <div class="col-md-6">
            <div class="input-group">
               <input type="text" class="form-control input-sm" name="data[token]" readonly value="{$body.data.token}">
               <div class="input-group-btn">
                  <button name="acn" value="generateAdminToken" title="{if !empty($body.data.token)}{'regenerateToken'|translate}{else}{'generateToken'|translate}{/if}" class="btn btn-sm btn-success {if !empty($body.data.token)}confirm{/if}">
                     <span class="glyphicon glyphicon-refresh"></span> {if !empty($body.data.token)}{'regenerateToken'|translate}{else}{'generateToken'|translate}{/if}
                  </button>
               </div>
            </div>
         </div>
         <div class="col-md-3">
            <button type="submit" class="btn btn-sm" name="acn" value="printHashLogin">{'generateHash'|translate}</button>
         </div>
      {/if}
   </div>
</div>
