2020-05-20 15:42:54 +02:00
|
|
|
<div class="form-group {{classes}}">
|
2020-05-20 15:16:55 +02:00
|
|
|
<label for="setting-{{setting.name}}" class="control-label m-r" translate>{{ label }}</label>
|
|
|
|
<input bs-switch
|
|
|
|
ng-model="setting.value"
|
|
|
|
id="setting-{{setting.name}}"
|
|
|
|
type="checkbox"
|
|
|
|
class="form-control"
|
2020-05-20 15:42:54 +02:00
|
|
|
switch-on-text="{{ yesLabel | translate }}"
|
|
|
|
switch-off-text="{{ noLabel | translate }}"
|
2020-05-20 15:16:55 +02:00
|
|
|
switch-animate="true"/>
|
|
|
|
<button name="button" class="btn btn-warning m-l" ng-click="save(setting)" translate>{{ 'app.shared.buttons.save' }}</button>
|
|
|
|
</div>
|