= render :partial => 'cms/fortress/shared/navbar' .container .row .col-sm-6.col-sm-offset-3 = form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:role => "form", :class => "form-signin" }) do |f| %h3.form-signin-heading= t('cms.fortress.users.sessions.new.sign_in') .form-group = f.label :email = f.email_field :email, :autofocus => true, :placeholder => t('cms.fortress.users.sessions.new.email_address'), :class => "form-control" .form-group = f.label :password = f.password_field :password, :placeholder => t('cms.fortress.users.sessions.new.password'), :class => "form-control" .form-group(class="#{ "hide" unless Comfy::Cms::Site.count > 1 && Cms::Fortress.configuration.login_site_selector }") = f.label :site = f.select :site_id, Comfy::Cms::Site.all.collect{ |s| [s.label, s.id] }, :class => "form-control" - if devise_mapping.rememberable? .checkbox %label.checkbox = f.check_box :remember_me = t('cms.fortress.users.sessions.new.remember_me') = f.submit t('cms.fortress.users.sessions.new.sign_in'), :class => "btn btn-primary btn-md" = render "devise/shared/links"