[phase-5]fix missing label for category selection field in term new/edit form
This commit is contained in:
parent
1378a95aa4
commit
a2b0a7a406
@ -1,5 +1,5 @@
|
|||||||
<div class="box tabular">
|
<div class="box tabular">
|
||||||
<p><%= form.text_field :name, size: 80, required: true %></p>
|
<p><%= form.text_field :name, size: 80, required: true %></p>
|
||||||
<p><%= form.collection_select :category_id, GlossaryCategory.all, :id, :name, include_blank: true %>
|
<p><%= form.select :category_id, GlossaryCategory.all.pluck(:name, :id), include_blank: true %>
|
||||||
<p><%= form.text_area :description, size: "80x10", required: false %></p>
|
<p><%= form.text_area :description, size: "80x10", required: false %></p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user