Files
codeocean/app/views/consumers/_form.html.slim
2022-08-12 11:45:32 +02:00

13 lines
521 B
Plaintext

= form_for(@consumer) do |f|
= render('shared/form_errors', object: @consumer)
.mb-3
= f.label(:name, class: 'form-label')
= f.text_field(:name, class: 'form-control', required: true)
.mb-3
= f.label(:oauth_key, class: 'form-label')
= f.text_field(:oauth_key, class: 'form-control', required: true)
.mb-3
= f.label(:oauth_secret, class: 'form-label')
= f.text_field(:oauth_secret, class: 'form-control', required: true)
.actions = render('shared/submit_button', f: f, object: @consumer)