debian-mirror-gitlab/app/views/projects/environments/_form.html.haml

23 lines
860 B
Text
Raw Normal View History

2016-09-13 17:45:13 +05:30
.row.prepend-top-default.append-bottom-default
.col-lg-3
%h4.prepend-top-0
Environments
%p
Environments allow you to track deployments of your application
= succeed "." do
= link_to "Read more about environments", help_page_path("ci/environments")
= form_for [@project.namespace.becomes(Namespace), @project, @environment], html: { class: 'col-lg-9' } do |f|
= form_errors(@environment)
.form-group
2018-11-18 11:00:15 +05:30
= f.label :name, 'Name', class: 'label-bold'
2016-09-13 17:45:13 +05:30
= f.text_field :name, required: true, class: 'form-control'
.form-group
2018-11-18 11:00:15 +05:30
= f.label :external_url, 'External URL', class: 'label-bold'
2016-09-13 17:45:13 +05:30
= f.url_field :external_url, class: 'form-control'
.form-actions
2018-12-05 23:21:45 +05:30
= f.submit 'Save', class: 'btn btn-success'
2017-09-10 17:25:29 +05:30
= link_to 'Cancel', project_environments_path(@project), class: 'btn btn-cancel'