This way we can simplify setting the title and styling the link in the header. We're also fixing the unnecessary padding introduced by the `column` classes, which caused the header not to be aligned with the rest of the elements surrounding it. We're still keeping it the margin used in the `row` classes so it's aligned with the rest of the form; ideally, we would remove the `row` classes in the rest of the form and in the whole admin section, but this isn't something we can tackle right now. Note that, in the CSS, the `margin-left: auto` property needs to be included after `@include regular-button` because that mixin overwrites the `margin-left` property. Since we're modifying this code, we're making it compatible with RTL text, using `$global-left` instead of `left`.
7 lines
157 B
Plaintext
7 lines
157 B
Plaintext
<% provide :main_class, "admin-site-customization-pages-new" %>
|
|
<%= back_link_to admin_site_customization_pages_path %>
|
|
|
|
<%= header %>
|
|
|
|
<%= render "form" %>
|