Sha256: c1aff07160867747496c7900b64be3cfacc2f04c9a0e4df1fd62fdbb474412d0
Contents?: true
Size: 658 Bytes
Versions: 14
Compression:
Stored size: 658 Bytes
Contents
= occams_admin_partial "occams/admin/cms/partials/site_form_before", form: form = form.text_field :label, data: {slugify: @site.new_record?} = form.text_field :identifier, data: {slug: true} = form.text_field :hostname = form.text_field :path - locales = Occams.config.locales.to_a.collect{|l| ["#{l[1]} (#{l[0]})", l[0]]} = form.select :locale, locales, bootstrap: {custom_control: true} = occams_admin_partial "occams/admin/cms/partials/site_form_after", form: form = form.form_actions do = submit_tag t(@site.new_record? ? ".create" : ".update"), class: "btn btn-primary" = link_to t(".cancel"), occams_admin_cms_sites_path, class: "btn btn-link"
Version data entries
14 entries across 14 versions & 1 rubygems