[phase-5]remove non necessary call 'all' for plunk from GlossaryCategory

This commit is contained in:
Toru Takahashi 2018-05-08 07:54:02 +09:00 committed by TAKAHASHI,Toru
parent a2b0a7a406
commit 06cc4908a5

View File

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