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

_form.html.haml « triggers « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9043b8e60fcae2b68fda22c78468aa311b0b0763 (plain)
1
2
3
4
5
6
7
8
9
10
11
= form_for [@project, @trigger], html: { class: 'gl-show-field-errors' } do |f|
  = form_errors(@trigger)

  - if @trigger.token
    .form-group
      %label.label-bold Token
      %p.form-control-plaintext= @trigger.token
  .form-group
    = f.label :key, "Description", class: "label-bold"
    = f.text_field :description, class: 'form-control gl-form-input', required: true, title: 'Trigger description is required.', placeholder: "Trigger description"
  = f.submit btn_text, class: "gl-button btn btn-confirm"