
<div class="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">Modal title</h4>
      </div>
      <div class="modal-body">
        {% if include.has-error == true %}{% include widgets/communication/alert-danger.html %}{% endif %}
        <form class="form-horizontal">
          <div class="form-group">
            <label class="col-sm-2 control-label" for="{{include.id-default}}">Default</label>
            <div class="col-sm-10">
              <input type="text" id="{{include.id-default}}" class="form-control"></div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label" for="{{include.id-disabled}}">Disabled</label>
            <div class="col-sm-10">
              <input type="text" id="{{include.id-disabled}}" class="form-control" disabled></div>
          </div>
          <div class="form-group {% if include.has-error == true %}has-error{% endif %}">
            <label class="col-sm-2 control-label" for="{{include.id-error}}">{% if include.has-error == true %}With{% else %}No{% endif %} error</label>
            <div class="col-sm-10">
              <input type="text" id="{{include.id-error}}" class="form-control">
{% if include.has-error == true %}
              <span class="help-block">Please correct the error</span>
{% endif %}
            </div>
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
