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
|
|
|
%hr.clearfix
|
|
|
|
%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'
|