[phase-5]remove non necessary call 'all' for plunk from GlossaryCategory
This commit is contained in:
parent
a2b0a7a406
commit
06cc4908a5
@ -1,5 +1,5 @@
|
||||
<div class="box tabular">
|
||||
<p><%= form.text_field :name, size: 80, required: true %></p>
|
||||
<p><%= form.select :category_id, GlossaryCategory.all.pluck(:name, :id), include_blank: true %>
|
||||
<p><%= form.select :category_id, GlossaryCategory.pluck(:name, :id), include_blank: true %></p>
|
||||
<p><%= form.text_area :description, size: "80x10", required: false %></p>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user