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-2.0.2 app/views/translation_center/translation_keys/_form.html.haml
translation_center-2.0.1 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.7.2 app/views/translation_center/translation_keys/_form.html.haml
afalkear_translation_center-1.8.4 app/views/translation_center/translation_keys/_form.html.haml
afalkear_translation_center-1.8.3 app/views/translation_center/translation_keys/_form.html.haml
afalkear_translation_center-1.8.2 app/views/translation_center/translation_keys/_form.html.haml
afalkear_translation_center-1.8.1 app/views/translation_center/translation_keys/_form.html.haml
afalkear_translation_center-1.8.0 app/views/translation_center/translation_keys/_form.html.haml
afalkear_translation_center-1.7.9 app/views/translation_center/translation_keys/_form.html.haml
afalkear_translation_center-1.7.8 app/views/translation_center/translation_keys/_form.html.haml
afalkear_translation_center-0.0.0 app/views/translation_center/translation_keys/_form.html.haml
afalkear_translation_center-1.7.7 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.7.1 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.7.0 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.6.10 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.6.9 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.6.8 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.6.7 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.6.6 app/views/translation_center/translation_keys/_form.html.haml
translation_center-1.6.5 app/views/translation_center/translation_keys/_form.html.haml