1
0
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:
Sylvain 2021-06-09 09:47:56 +02:00
parent 08ad436351
commit b83a9e44d6

View File

@ -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]"