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

19 lines
666 B
Plaintext
Raw Normal View History

2018-05-05 04:15:27 +02:00
<div class="box tabular">
<p><%= form.text_field :name, size: 80, required: true %></p>
2018-05-24 01:26:17 +02:00
<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>
2018-05-05 04:15:27 +02:00
<p><%= form.text_area :description, size: "80x10", required: false %></p>
</div>
<div class="box">
<p>
<label><%=l :label_attachment_plural %></label>
<%= render partial: 'attachments/form' %>
</p>
</div>