<div
    eula
    button-name="{{'save_button'|translate}}"
>
</div>

<button
    type="submit"
    ng-click="save(form.$valid && !form.$pending)"
    class="addthis-btn addthis-btn-blue"
    ng-class="{ 'addthis-btn-disabled': (form.$invalid || form.$pending) }"
>
    <span ng-show="saving && !form.$pending" translate>progress_message_saving</span>
    <span ng-hide="saving || form.$pending" translate>save_button</span>
    <span ng-show="form.$pending" translate>progress_message_checking_input</span>
</button>

<div
    ng-show="form.$invalid"
    soft-alert
    level="'danger'"
    class="warning-invalid-form"
>
  <span translate>error_message_invalid_input_can_not_save</span>
</div>

<div
    ng-show="showSaveSuccessMessage"
    soft-alert level="'info'" icon="'checkmark'"
    class="warning-invalid-form"
>
  <span translate>success_message_saved</span>
</div>