app/views/api_keys/_form.html.slim
= simple_form_for [@workbench, @api_key], html: { class: 'form-horizontal', id: 'api_key_form' }, wrapper: :horizontal_form do |f|
.row
.col-lg-12
= f.input :name
- unless @api_key.new_record?
= f.input :token, input_html: { readonly: true }
= cancel_button
= f.button :submit, t('actions.submit'), class: 'btn btn-default formSubmitr', form: 'api_key_form'