21 lines
906 B
Text
21 lines
906 B
Text
.row.gl-mt-3.gl-mb-3
|
|
.col-lg-3
|
|
%h4.gl-mt-0
|
|
= _("Environments")
|
|
%p
|
|
- link_to_read_more = link_to(_("More information"), help_page_path("ci/environments/index.md"))
|
|
= _("Environments allow you to track deployments of your application %{link_to_read_more}.").html_safe % { link_to_read_more: link_to_read_more }
|
|
|
|
= form_for [@project, @environment], html: { class: 'col-lg-9' } do |f|
|
|
= form_errors(@environment)
|
|
|
|
.form-group
|
|
= f.label :name, _('Name'), class: 'label-bold'
|
|
= f.text_field :name, required: true, class: 'form-control'
|
|
.form-group
|
|
= f.label :external_url, _('External URL'), class: 'label-bold'
|
|
= f.url_field :external_url, class: 'form-control'
|
|
|
|
.form-actions
|
|
= f.submit _('Save'), class: 'gl-button btn btn-confirm'
|
|
= link_to _('Cancel'), project_environments_path(@project), class: 'gl-button btn btn-cancel'
|