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

_form.html.haml « variables « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a5bae83e0cec2aaeda5730fb3b74e5de5632b7ab (plain)
1
2
3
4
5
6
7
8
9
10
= form_for [@project.namespace.becomes(Namespace), @project, @variable] do |f|
  = form_errors(@variable)

  .form-group
    = f.label :key, "Key", class: "label-light"
    = f.text_field :key, class: "form-control", placeholder: "PROJECT_VARIABLE", required: true
  .form-group
    = f.label :value, "Value", class: "label-light"
    = f.text_area :value, class: "form-control", placeholder: "PROJECT_VARIABLE", required: true
  = f.submit btn_text, class: "btn btn-save"