Sha256: 6a5aa812095166369b764e0468c7f178d97fccf60096e21c56ca2142294c46c8

Contents?: true

Size: 560 Bytes

Versions: 7

Compression:

Stored size: 560 Bytes

Contents

= render 'admin/cms/partials/site_form_before', :object => 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
= form.select :locale, ComfortableMexicanSofa.config.locales.to_a.collect{|l| [l[1], l[0]]}
= form.check_box :is_mirrored, :label => t('.is_mirrored')

= render 'admin/cms/partials/site_form_after', :object => form

.form-actions
  = form.submit t(@site.new_record?? '.create' : '.update'), :class => 'btn btn-primary'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.11.2 app/views/admin/cms/sites/_form.html.haml
comfortable_mexican_sofa-1.11.1 app/views/admin/cms/sites/_form.html.haml
comfortable_mexican_sofa-1.11.0 app/views/admin/cms/sites/_form.html.haml
comfortable_mexican_sofa-1.10.3 app/views/admin/cms/sites/_form.html.haml
comfortable_mexican_sofa-1.10.2 app/views/admin/cms/sites/_form.html.haml
comfortable_mexican_sofa-1.10.1 app/views/admin/cms/sites/_form.html.haml
comfortable_mexican_sofa-1.10.0 app/views/admin/cms/sites/_form.html.haml