redmine_glossary/app/views/glossary_terms/_form.html.erb
2020-01-02 19:39:20 +09:00

20 lines
732 B
Plaintext

<div class="box tabular">
<p><%= form.text_field :name, size: 80, required: true %></p>
<p><%= form.text_field :name_en, size: 80 %></p>
<p><%= form.text_field :rubi, size: 80 %></p>
<p><%= form.text_field :abbr_whole, size: 80 %></p>
<p><%= form.text_field :datatype, size: 80 %></p>
<p><%= form.text_field :codename, size: 80 %></p>
<p><%= form.select :category_id, GlossaryCategory.pluck(:name, :id), include_blank: true %></p>
<p><%= form.text_area :description, rows: 10, class: 'wiki-edit', required: false %></p>
</div>
<div class="box">
<p>
<label><%=l :label_attachment_plural %></label>
<%= render partial: 'attachments/form' %>
</p>
</div>
<%= wikitoolbar_for 'glossary_term_description' %>