<div class="row">
  <div class="col-md-9">

    <div class="form-group">
      <label class="col-sm-3 control-label" for="entry-module-title">{{ entry_title }}</label>
      <div class="col-sm-9">
        {% for lang in languages %}
          <div class="input-group" style="margin-bottom:5px;">
            <div class="input-group-addon"><img src="{{ lang['flag_url'] }}" title="{{ lang['name'] }}"></div>
            <input type="text" id="entry-module-title" name="{{ module_setting }}[module][title][{{ lang['language_id'] }}]" value="{{ setting['module']['title'][lang['language_id']] ? setting['module']['title'][lang['language_id']] }}" placeholder="Module heading title" class="form-control" />
          </div>
        {% endfor %}
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label" for="entry-module-status">{{ entry_status }}</label>
      <div class="col-sm-6 col-md-3">
        <select id="entry-module-status" name="{{ module_setting }}[module][status]" class="form-control">
          <option value="1" {{ setting['module']['status'] == '1' ? 'selected="selected"' : '' }}>{{ text_enabled }}</option>
          <option value="0" {{ setting['module']['status'] != '1' ? 'selected="selected"' : '' }}>{{ text_disabled }}</option>
        </select>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label" for="entry-module-limit">{{ entry_limit }}</label>
      <div class="col-sm-1" style="min-width:100px">
        <input type="number" name="{{ module_setting }}[module][limit]" value="{{ setting['module']['limit'] }}" id="entry-module-limit" class="form-control" />
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label" for="entry-module-sort-order">{{ entry_sort_order }}</label>
      <div class="col-sm-6 col-md-3">
        <select id="entry-module-sort-order" name="{{ module_setting }}[module][sort_order]" class="form-control">
          <option value="priority" {{ setting['module']['sort_order'] == 'priority' ? 'selected="selected"' : '' }}>{{ text_priority }}</option>
          <option value="random" {{ setting['module']['sort_order'] == 'random' ? 'selected="selected"' : '' }}>{{ text_random }}</option>
        </select>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label" for="entry-css">{{ entry_custom_css }}</label>
      <div class="col-sm-9">
        <textarea class="form-control" name="{{ module_setting }}[module][custom_css]" id="entry-css" placeholder="" rows="8">{{ setting['module']['custom_css'] }}</textarea>
      </div>
    </div>

  </div>

  <div class="col-md-3">

    <div class="panel panel-default">
      <div class="panel-heading">{{ text_information }}</div>

      <div class="panel-body">
        {{ text_info_module_intro }}

        <ul class="isl-list">
          {% for info in text_info_module %}
            <li>{{ info }}</li>
          {% endfor %}
        </ul>
      </div>

    </div>

  </div>
</div>
