This way we can simplify the view, particularly the form. However, we're still adding some complexity to the form so inputs are inside labels and so the collection is easier to style with CSS.
5 lines
129 B
Plaintext
5 lines
129 B
Plaintext
<%= header %>
|
|
<% provide :main_class, "admin-locales-show" %>
|
|
|
|
<%= render Admin::Locales::FormComponent.new(locales_settings) %>
|