debian-mirror-gitlab/app/views/projects/snippets/new.html.haml
2020-03-09 13:42:32 +05:30

9 lines
310 B
Text

- 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")
%hr
= render "shared/snippets/form", url: project_snippets_path(@project, @snippet)