1
0

Added zero_nil to Quantity form and import

This commit is contained in:
cryptogopher
2020-02-20 21:55:38 +01:00
parent 9bddc67a3f
commit b1e7236460
4 changed files with 10 additions and 5 deletions

View File

@@ -13,6 +13,7 @@
<p><%= f.text_field :description, style: "width: 100%;" %></p>
<%= f.fields_for :formula do |ff| %>
<p><%= ff.text_field :code, placeholder: t('.formula_placeholder'),
style: "width: 100%;" %></p>
style: "width: 100%;" %></p>
<p><%= ff.check_box :zero_nil, {label: ''} %><%= t('.zero_nil') %></p>
<% end %>
</div>