2016-03-23 18:39:41 +01:00
|
|
|
<div class="modal-header">
|
2019-12-18 13:04:38 +01:00
|
|
|
<h3 class="modal-title" translate>{{ 'app.admin.trainings.edition_of_the_description_tooltip' }}</h3>
|
2016-03-23 18:39:41 +01:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form name="trainingForm" novalidate>
|
|
|
|
<div class="form-group" ng-class="{'has-error': trainingForm['training[description]'].$dirty && trainingForm['training[description]'].$invalid }">
|
2022-04-07 15:22:54 +02:00
|
|
|
<textarea name="training[description]" class="form-control" placeholder="{{ 'app.admin.trainings.describe_the_training_in_a_few_words' | translate }}" ng-model="training.description" ng-maxlength="255" ng-trim="false"></textarea>
|
2019-12-18 13:04:38 +01:00
|
|
|
<span class="help-block" ng-show="trainingForm['training[description]'].$dirty && trainingForm['training[description]'].$error.maxlength" translate>{{ 'app.admin.trainings.description_is_limited_to_255_characters' }}</span>
|
2016-03-23 18:39:41 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2023-11-27 16:21:07 +01:00
|
|
|
<button class="fab-button is-secondary" ng-disabled="trainingForm.$invalid" ng-click="save()" translate>{{ 'app.shared.buttons.save' }}</button>
|
2016-03-23 18:39:41 +01:00
|
|
|
</div>
|