Sha256: 7b04802c759f4c26ebae8aafb806de27bbfb205938cf272a0b437c9efc76ac91

Contents?: true

Size: 1.21 KB

Versions: 6

Compression:

Stored size: 1.21 KB

Contents

- i18n_scope = "socialite.sessions.new"
- labels_scope = "socialite.labels"

%h1= I18n.t(:header, scope: i18n_scope)

%p
  %strong= I18n.t(:services_header, scope: i18n_scope)

.auth_providers
  - if defined?(OmniAuth::Strategies::Twitter)
    %a.auth_provider{:href => "/auth/twitter"}
      = image_tag "twitter_64.png", :size => "64x64", :alt => I18n.t('socialite.providers.twitter')
      = I18n.t('socialite.providers.twitter')
  - if defined?(OmniAuth::Strategies::Facebook)
    %a.auth_provider{:href => "/auth/facebook"}
      = image_tag "facebook_64.png", :size => "64x64", :alt => I18n.t('socialite.providers.facebook')
      = I18n.t('socialite.providers.facebook')

%p
  %strong= I18n.t(:identity_header, scope: i18n_scope)
  = I18n.t('create_account_text.html', scope: i18n_scope, :create_account_link => link_to(I18n.t('create_account_link_text', scope: i18n_scope), signup_path))

= form_tag "/auth/identity/callback" do
  .field
    = label_tag :auth_key, I18n.t(:auth_key, scope: labels_scope)
    %br
    = text_field_tag :auth_key
  .field
    = label_tag :password, I18n.t(:password, scope: labels_scope)
    %br
    = password_field_tag :password
  .actions
    = submit_tag I18n.t(:sign_in, scope: labels_scope)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
socialite-0.2.1 app/views/socialite/sessions/new.html.haml
socialite-0.2.0 app/views/socialite/sessions/new.html.haml
socialite-0.1.2 app/views/socialite/sessions/new.html.haml
socialite-0.1.1 app/views/socialite/sessions/new.html.haml
socialite-0.1.0.pre.7 app/views/socialite/sessions/new.html.haml
socialite-0.1.0.pre.6 app/views/socialite/sessions/new.html.haml