diff --git a/app/views/glossary_terms/_form.html.erb b/app/views/glossary_terms/_form.html.erb index 3b9a9e1..70eb26b 100644 --- a/app/views/glossary_terms/_form.html.erb +++ b/app/views/glossary_terms/_form.html.erb @@ -1,5 +1,5 @@
<%= form.text_field :name, size: 80, required: true %>
-<%= form.select :category_id, GlossaryCategory.all.pluck(:name, :id), include_blank: true %> +
<%= form.select :category_id, GlossaryCategory.pluck(:name, :id), include_blank: true %>
<%= form.text_area :description, size: "80x10", required: false %>