admin: can edit theme introductions
This commit is contained in:
parent
0f9c8e0335
commit
5e2e03f5e9
2 changed files with 3 additions and 2 deletions
|
|
@ -4,7 +4,8 @@
|
|||
<div class="form-group row" ng-repeat="field in fields">
|
||||
<label for="{{ field }}" class="col-sm-1 col-form-label-sm">{{ field | capitalize }}</label>
|
||||
<div class="col-sm-11">
|
||||
<input type="text" class="form-control form-control-sm" id="{{ field }}" ng-model="theme[field]">
|
||||
<input type="text" class="form-control form-control-sm" id="{{ field }}" ng-model="theme[field]" ng-if="field != 'intro'">
|
||||
<textarea class="form-control form-control-sm" id="{{ field }}" ng-model="theme[field]" ng-if="field == 'intro'"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right" ng-show="theme.id">
|
||||
|
|
|
|||
Reference in a new issue