To make it easier to add the component to the front pages forms and avoid introducing redundant classes we add the necessary padding (@include grid-column-gutter) to make it behave like the rest of the form fields. Note that for the sdg management section we set this value to 0.
8 lines
188 B
Plaintext
8 lines
188 B
Plaintext
<%= header %>
|
|
|
|
<%= form_for record, url: update_path, html: { class: "sdg-relations-edit" } do |f| %>
|
|
<%= render SDG::RelatedListSelectorComponent.new(f) %>
|
|
|
|
<%= f.submit %>
|
|
<% end %>
|