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>
|
2018-05-08 00:54:02 +02:00
|
|
|
<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>
|
2018-06-08 13:57:51 +02:00
|
|
|
|
|
|
|
<div class="box">
|
|
|
|
<p>
|
|
|
|
<label><%=l :label_attachment_plural %></label>
|
|
|
|
<%= render partial: 'attachments/form' %>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|