Sha256: 6c3525e8b050fbb18208da7f92d146a15732ad6d68c6cc90a25e63df10e31d93

Contents?: true

Size: 469 Bytes

Versions: 61

Compression:

Stored size: 469 Bytes

Contents

= form_for(@translation_key) do |f|
  - if @translation_key.errors.any?
    #error_explanation
      %h2
        = pluralize(@translation_key.errors.count, "error")
        prohibited this translation_key from being saved:
      %ul
        - @translation_key.errors.full_messages.each do |msg|
          %li= msg
  .field
    = f.label :name
    %br
    = f.text_field :name
  .field
    = f.hidden_field :category_id, value: @category.id
   
  .actions
    = f.submit

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
translation_center-1.2.0 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.1.0 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.0.4 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.0.3 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.0.2 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.0.1 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.0.0 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.14 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.13 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.12 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.11 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.10 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.9 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.8 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.7 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.6 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.5 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.4 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.3 app/views/translation_center/translation_keys/_form.html.haml
translation_center-0.0.2 app/views/translation_center/translation_keys/_form.html.haml