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

12 lines
514 B
Text
Raw Normal View History

2020-10-24 23:57:45 +05:30
= form_for [@project, @trigger], html: { class: 'gl-show-field-errors' } do |f|
2017-08-17 22:00:37 +05:30
= form_errors(@trigger)
- if @trigger.token
.form-group
2018-11-18 11:00:15 +05:30
%label.label-bold Token
2018-11-08 19:23:39 +05:30
%p.form-control-plaintext= @trigger.token
2017-08-17 22:00:37 +05:30
.form-group
2018-11-18 11:00:15 +05:30
= f.label :key, "Description", class: "label-bold"
2021-03-11 19:13:27 +05:30
= f.text_field :description, class: 'form-control gl-form-input', required: true, title: 'Trigger description is required.', placeholder: "Trigger description"
2021-04-29 21:17:54 +05:30
= f.submit btn_text, class: "gl-button btn btn-confirm"