1
0

WIP: Targets configurable with Quantities

This commit is contained in:
cryptogopher
2021-02-07 11:02:41 +01:00
parent 316005bf1f
commit 8b17b33603
23 changed files with 218 additions and 108 deletions

View File

@@ -5,8 +5,7 @@
{autocomplete: 'off',
data: {remote: true,
url: parents_project_quantities_path(@project),
params: "form=#{f.options[:html][:id]}"}}
%></p>
params: "form=#{f.options[:html][:id]}"}} %></p>
<p><%= f.select :parent_id, parent_options(@quantity.domain),
{required: true, label: :field_parent_quantity, include_blank: t('.null_parent')} %></p>
<p><%= f.text_field :name, size: 25, required: true %></p>