<h1>{{ title }}</h1>

<div uib-alert ng-show="alert.show" ng-class="'alert-' + (alert.type || 'warning')" close="alert={}">
  {{ alert.msg }}
</div>

<form name="motionCommentForm" ng-submit="save(model)" novalidate>
  <formly-form model="model" fields="formFields">
    <button type="submit" ng-disabled="motionCommentForm.$invalid" class="btn btn-primary" translate>
      Save
    </button>
    <button type="button" ng-click="closeThisDialog()" class="btn btn-default" translate>
      Cancel
    </button>
  </formly-form>
</form>
