{% extends 'admin/layout.html.twig' %}

{% set menu = 'admin_setting_es_bar' %}

{% block main %}

{{ web_macro.flash_messages() }}

<form class="form-horizontal" method="post" id="esbar-setting-form" novalidate>
  <div class="row form-group">
    <div class="col-md-3 control-label">
      <label >{{'侧边栏功能'|trans}}</label>

    </div>
    <div class="controls col-md-8 radios">
      {{ radios('enabled', {1:'开启'|trans, 0:'关闭'|trans}, esBar.enabled) }}
      <p class="help-block">{{'网校开启侧边栏后，客服的悬浮框会失效'|trans}}</p>
    </div>
  </div>

  <div class="row form-group">
    <div class="col-md-3 control-label"></div>
    <div class="controls col-md-8">
      <button type="submit" class="btn btn-primary">{{'提交'|trans}}</button>
    </div>
  </div>
  <input type="hidden" name="_csrf_token" value="{{ csrf_token('site') }}">
</form>
{% endblock %}