diff --git a/app/views/glossary_terms/_form.html.erb b/app/views/glossary_terms/_form.html.erb index b1e5e7f..3b9a9e1 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.collection_select :category_id, GlossaryCategory.all, :id, :name, include_blank: true %> +

<%= form.select :category_id, GlossaryCategory.all.pluck(:name, :id), include_blank: true %>

<%= form.text_area :description, size: "80x10", required: false %>