Sha256: c73ed7bfa2c965c7cad8f195e5d1b8453b588cb5d9670c6a70a711b623a3a653
Contents?: true
Size: 782 Bytes
Versions: 23
Compression:
Stored size: 782 Bytes
Contents
= f.inputs :advanced do = f.input :locales, as: :array, template: :locale, template_url: new_locale_current_site_path(current_site), select_options: options_for_site_locales = f.input :prefix_default_locale, as: :toggle = f.input :timezone_name, as: :select, include_blank: false, collection: options_for_site_timezones = f.input :robots_txt, as: :code, wrapper_html: { class: 'small' } = f.input :cache_enabled, as: :toggle - if policy(@site).destroy? = f.actions do .row .col-sm-6.text-left = link_to t('.destroy'), current_site_path(current_site), data: { safe_confirm: { question: t('.confirm_destroy'), answer: @site.name } }, class:'btn btn-sm btn-danger', method: :delete .col-sm-6.text-right = f.action - else = f.actions
Version data entries
23 entries across 23 versions & 1 rubygems