Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_form.html.haml « environments « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c07f4bd510ca81b928b7301f56e06818db80aac2 (plain)
1
2
3
4
5
6
7
= form_for @environment, url: namespace_project_environments_path(@project.namespace, @project), html: { class: 'col-lg-9' } do |f|
  = form_errors(@environment)
  .form-group
    = f.label :name, 'Name', class: 'label-light'
    = f.text_field :name, required: true, class: 'form-control'
  = f.submit 'Create environment', class: 'btn btn-create'
  = link_to 'Cancel', namespace_project_environments_path(@project.namespace, @project), class: 'btn btn-cancel'