The code powering m.abunchtell.com https://m.abunchtell.com
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

17 lignes
497 B

  1. - content_for :page_title do
  2. = "##{@tag.name}"
  3. = simple_form_for @tag, url: admin_tag_path(@tag.id) do |f|
  4. = render 'shared/error_messages', object: @tag
  5. .fields-group
  6. = f.input :name, wrapper: :with_block_label
  7. .fields-group
  8. = f.input :usable, as: :boolean, wrapper: :with_label
  9. = f.input :trendable, as: :boolean, wrapper: :with_label
  10. = f.input :listable, as: :boolean, wrapper: :with_label
  11. .actions
  12. = f.button :button, t('generic.save_changes'), type: :submit