2010-10-27 00:11:44 +00:00
|
|
|
- content_for :head_title do
|
2011-10-30 23:02:41 +00:00
|
|
|
= t('locomotive.installation.common.title')
|
2010-10-27 00:11:44 +00:00
|
|
|
|
|
|
|
- title t('.title')
|
|
|
|
|
2011-10-31 23:44:23 +00:00
|
|
|
= semantic_form_for(@site, :url => installation_step_url(2), :html => { :multipart => true }) do |f|
|
2010-10-27 00:11:44 +00:00
|
|
|
.inner
|
2011-04-24 23:21:38 +00:00
|
|
|
|
2011-04-05 00:18:17 +00:00
|
|
|
%p.explanations
|
|
|
|
!= t('.explanations')
|
|
|
|
|
|
|
|
= f.inputs do
|
|
|
|
= f.input :name, :required => true
|
|
|
|
|
2011-04-06 09:44:52 +00:00
|
|
|
- if multi_sites?
|
2011-04-05 00:18:17 +00:00
|
|
|
= f.input :subdomain, :required => true
|
|
|
|
|
2012-02-07 00:29:33 +00:00
|
|
|
%li{ :class => 'select optional', :id => 'default_site_locale' }
|
|
|
|
%label{ :for => 'default_site_locale_input' }= t('.default_site_locale')
|
|
|
|
= select_tag 'site[locales][]', options_for_select(options_for_site_locales, @site.default_locale), :id => 'default_site_locale_input'
|
|
|
|
%p.inline-hints!= t('.default_site_locales_hints')
|
2010-10-27 00:11:44 +00:00
|
|
|
|
|
|
|
.footer
|
2011-11-03 13:01:08 +00:00
|
|
|
= submit_tag t('.next')
|