- content_for :page_title do = AppConfig.settings.pod_name + " - " + t('devise.sessions.new.sign_in') .container#login .text-center .logos-asterisk %h1 = AppConfig.settings.pod_name = form_for resource, as: resource_name, url: session_path(resource_name), html: {class: 'block-form'}, autocomplete: 'off' do |f| %fieldset %label#usernameLabel.sr-only{for: "user_username"} = t('registrations.new.username') %i.entypo-user = f.text_field :username, placeholder: t("registrations.new.username"), class: "input-block-level form-control", required: true, pattern: "[A-Za-z0-9_.@\-]+", autocapitalize: "none", autocorrect: "off", autofocus: true, aria: {labelledby: "usernameLabel"} %label#passwordLabel.sr-only{for: "user_password"} = t('registrations.new.password') %i.entypo-lock = f.password_field :password, placeholder: t("registrations.new.password"), class: "input-block-level form-control", required: true, autocapitalize: "none", autocorrect: "off", aria: {labelledby: "passwordLabel"} = f.hidden_field :remember_me, value: 1 = f.submit t('devise.sessions.new.sign_in'), class: 'btn btn-large btn-block btn-default' .text-center - if display_password_reset_link? = link_to t('devise.shared.links.forgot_your_password'), new_password_path(resource_name), id: "forgot_password_link" %br - if display_registration_link? = link_to t('devise.shared.links.sign_up'), new_registration_path(resource_name)