This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
2019-08-05 13:54:29 -04:00
|
|
|
- content_for :page_title do
|
|
|
|
= "##{@tag.name}"
|
|
|
|
|
|
|
|
= simple_form_for @tag, url: admin_tag_path(@tag.id) do |f|
|
|
|
|
= render 'shared/error_messages', object: @tag
|
|
|
|
|
|
|
|
.fields-group
|
|
|
|
= f.input :name, wrapper: :with_block_label
|
|
|
|
|
|
|
|
.fields-group
|
|
|
|
= f.input :usable, as: :boolean, wrapper: :with_label
|
2019-08-07 10:13:34 -04:00
|
|
|
= f.input :trendable, as: :boolean, wrapper: :with_label, disabled: !Setting.trends
|
|
|
|
= f.input :listable, as: :boolean, wrapper: :with_label, disabled: !Setting.profile_directory
|
2019-08-05 13:54:29 -04:00
|
|
|
|
|
|
|
.actions
|
|
|
|
= f.button :button, t('generic.save_changes'), type: :submit
|