blob: 94a3ae57e7c34c1fa4d3196531ce1c6f98db7193 (
plain)
| 1
2
3
4
5
6
7
8
9
 | = simple_form_for @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 }
      / = f.association :referential
      = f.button :submit, t('actions.submit'), class: 'btn btn-default formSubmitr', form: 'api_key_form'
 |