This component allows you to add Goals and Targets in a single input to relate it to any resource. We use the new added library to render them as tags.
8 lines
149 B
Plaintext
8 lines
149 B
Plaintext
<%= header %>
|
|
|
|
<%= form_for record, url: update_path do |f| %>
|
|
<%= render SDG::RelatedListSelectorComponent.new(f) %>
|
|
|
|
<%= f.submit %>
|
|
<% end %>
|