Sha256: 525aeb6de221ad17d5233a3003040df2619c1b1ab6177613a0eb2b9c80681c60

Contents?: true

Size: 650 Bytes

Versions: 3

Compression:

Stored size: 650 Bytes

Contents

= form_for language, url: language.id ? admin_language_path : admin_languages_path do |f|
  - if language.errors.any?
    .error
      %h2= format(n_('An error prevented this language from being saved:',
                      '%<nb>i errors prevented this language from being saved:',
                      language.errors.count), nb: language.errors.count)
      %ul
        - language.errors.full_messages.each do |message|
          %li= message
  .field
    = f.label :iso639_1
    .field-input= f.text_field :iso639_1
  .field
    = f.label :name
    .field-input= f.text_field :name

  .actions
    = f.submit _('Save'), class: 'btn btn--save'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
elabs-3.0.0 app/views/elabs/admin/languages/_form.html.haml
elabs-2.0.0 app/views/elabs/admin/languages/_form.html.haml
elabs-2.0.0.pre app/views/elabs/admin/languages/_form.html.haml