mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
fix edition of plan's category
This commit is contained in:
parent
08ad436351
commit
b83a9e44d6
@ -51,10 +51,9 @@
|
||||
<div class="form-group" ng-class="{'has-error': planForm['plan[plan_category_id]'].$dirty && planForm['plan[group_id]'].$invalid}">
|
||||
<label for="plan[plan_category_id]">{{ 'app.shared.plan.category' | translate }} *</label>
|
||||
<select id="plan[plan_category_id]"
|
||||
name="plan[plan_category_id]"
|
||||
class="form-control"
|
||||
ng-model="plan.plan_category_id"
|
||||
ng-options="cat.id as cat.name for cat in planCategories track by cat.id">
|
||||
ng-options="cat.id as cat.name for cat in planCategories">
|
||||
</select>
|
||||
<input type="hidden"
|
||||
name="plan[plan_category_id]"
|
||||
|
Loading…
Reference in New Issue
Block a user