2020-06-10 16:37:11 +02:00
|
|
|
<form class="{{classes}}" name="settingTextForm">
|
2020-05-27 11:18:26 +02:00
|
|
|
<label for="setting-{{setting.name}}" class="control-label m-r" translate>{{ label }}</label>
|
|
|
|
<div ng-class="{'form-group': faIcon}">
|
|
|
|
<div ng-class="{'input-group': faIcon}">
|
|
|
|
<div class="input-group-addon" ng-if="faIcon">
|
|
|
|
<i class="fa {{faIcon}}"></i>
|
|
|
|
</div>
|
2020-06-01 17:32:32 +02:00
|
|
|
<input type="{{type}}"
|
2020-05-27 11:18:26 +02:00
|
|
|
class="form-control"
|
|
|
|
id="setting-{{setting.name}}"
|
|
|
|
placeholder="{{placeholder}}"
|
|
|
|
ng-model="setting.value"
|
2022-06-08 10:35:53 +02:00
|
|
|
ng-required="required"
|
2020-06-10 16:37:11 +02:00
|
|
|
ng-minlength="minLength"
|
|
|
|
ng-maxlength="maxLength"
|
2022-04-07 15:22:54 +02:00
|
|
|
ng-trim="false"
|
2020-06-10 16:37:11 +02:00
|
|
|
ng-readonly="readOnly">
|
2020-05-27 11:18:26 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-11-27 16:21:07 +01:00
|
|
|
<button name="button" class="fab-button is-secondary m-t" ng-click="save(setting)" ng-disabled="settingTextForm.$invalid || readOnly" translate>{{ 'app.shared.buttons.save' }}</button>
|
2020-05-27 11:18:26 +02:00
|
|
|
</form>
|