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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
534 B
Text
Raw Normal View History

2023-01-13 00:05:48 +05:30
= gitlab_ui_form_for [@project, @trigger], html: { class: 'gl-show-field-errors' } do |f|
2022-10-11 01:57:18 +05:30
= form_errors(@trigger)
2017-08-17 22:00:37 +05:30
- 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
2023-03-04 22:38:38 +05:30
= f.label :key, s_("Trigger|Description"), class: "label-bold"
= f.text_field :description, class: 'form-control gl-form-input', required: true, title: 'Trigger description is required.', placeholder: s_("Trigger|Trigger description")
2023-01-13 00:05:48 +05:30
= f.submit btn_text, pajamas_button: true