redmine_glossary/app/views/glossary_terms/_form.html.erb

6 lines
271 B
Plaintext

<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.text_area :description, size: "80x10", required: false %></p>
</div>