Commit a5696d3c authored by Paul Slaughter's avatar Paul Slaughter

Update content_class for snippets form pages

**How?**
This just adds the `@content_class` setup which
we have peppered throughout our views...
parent 7487c5b8
- add_to_breadcrumbs _("Snippets"), project_snippets_path(@project)
- breadcrumb_title @snippet.to_reference
- page_title _("Edit"), "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
- @content_class = "limit-container-width" unless fluid_layout
%h3.page-title
= _("Edit Snippet")
......
- add_to_breadcrumbs _("Snippets"), project_snippets_path(@project)
- breadcrumb_title _("New")
- page_title _("New Snippet")
- @content_class = "limit-container-width" unless fluid_layout
%h3.page-title
= _("New Snippet")
......
- page_title _("Edit"), "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
- @content_class = "limit-container-width" unless fluid_layout
%h3.page-title
= _("Edit Snippet")
......
- @hide_top_links = true
- @hide_breadcrumbs = true
- page_title _("New Snippet")
- @content_class = "limit-container-width" unless fluid_layout
.page-title-holder.d-flex.align-items-center
%h1.page-title= _('New Snippet')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment