adds valuator tags
This commit is contained in:
@@ -45,7 +45,8 @@
|
||||
<a class="js-add-tag-link"><%= tag.name %></a>
|
||||
<% end %>
|
||||
</div>
|
||||
<%= f.text_field :tag_list, value: @investment.tag_list.to_s,
|
||||
<%= f.text_field :valuation_tag_list,
|
||||
value: @investment.tag_list_on(:valuation).sort.join(','),
|
||||
label: false,
|
||||
placeholder: t("admin.budget_investments.edit.tags_placeholder"),
|
||||
class: 'js-tag-list' %>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<p id="tags">
|
||||
<strong><%= t("admin.budget_investments.show.tags") %>:</strong>
|
||||
|
||||
<%= @investment.tags.pluck(:name).join(', ') %>
|
||||
<%= @investment.tags_on(:valuation).pluck(:name).join(', ') %>
|
||||
</p>
|
||||
|
||||
<p id="assigned_valuators">
|
||||
|
||||
Reference in New Issue
Block a user