<div class="md_simple_modal_wrap" my-modal-position>

  <div class="md_simple_modal_body">

    <form class="modal_simple_form" ng-submit="updateChannel()">

      <h4 my-i18n="channel_edit_modal_title"></h4>

      <div class="md-input-group" my-labeled-input>
        <label class="md-input-label" my-i18n="channel_edit_name"></label>
        <input class="md-input" my-focused type="text" ng-model="channel.title" />
      </div>

      <div class="md-input-group" my-labeled-input>
        <label class="md-input-label" my-i18n="channel_edit_about"></label>
        <input class="md-input" type="text" ng-model="channel.about" />
      </div>

    </form>

  </div>

  <div class="md_simple_modal_footer">
    <button class="btn btn-md" ng-click="$dismiss()" my-i18n="modal_cancel"></button>
    <button class="btn btn-md btn-md-primary" ng-class="{disabled: channel.updating}" ng-click="updateChannel()" ng-bind="channel.updating ? 'channel_edit_submit_active' : 'channel_edit_submit' | i18n" ng-disabled="channel.updating"></button>
  </div>

</div>