debian-mirror-gitlab/app/views/projects/pages_domains/new.html.haml

13 lines
520 B
Text
Raw Normal View History

2019-03-02 22:35:43 +05:30
- add_to_breadcrumbs _("Pages"), project_pages_path(@project)
- page_title _('New Pages Domain')
2018-05-09 12:01:36 +05:30
%h3.page-title
2019-03-02 22:35:43 +05:30
= _("New Pages Domain")
2019-09-04 21:01:54 +05:30
= render 'projects/pages_domains/helper_text'
2017-08-17 22:00:37 +05:30
%div
2018-11-08 19:23:39 +05:30
= form_for [@project.namespace.becomes(Namespace), @project, @domain], html: { class: 'fieldset-form' } do |f|
2018-03-27 19:54:05 +05:30
= render 'form', { f: f }
.form-actions
2019-03-02 22:35:43 +05:30
= f.submit _('Create New Domain'), class: "btn btn-success"
2018-11-08 19:23:39 +05:30
.float-right
2018-05-09 12:01:36 +05:30
= link_to _('Cancel'), project_pages_path(@project), class: 'btn btn-cancel'