Sha256: dbf00f4df0a3a1a643b0e822f689e1cb866f48084af87e0cd6c9ffa945a85ae6

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

- self.content_for(:html, :page) do
  /
    #{__FILE__}
  %div{'data-role' => 'header'}
    = @back_button.render(:html)
    %h1
      Authentications
  %div{'data-role' => 'content'}
    %div{:style => 'margin: 0px auto 15px auto; text-align: center; width: 50%;'}
      - if RubyApp::Session.identity
        You are logged in as #{RubyApp::Session.identity.url}.
      - else
        You are not logged in.
    %div{'data-role' => 'controlgroup'}
      = @github_authentication_link.render(:html) do |element|
        - element.content_for(:html, :link, 'GitHub')
      = @facebook_authentication_link.render(:html) do |element|
        - element.content_for(:html, :link, 'Facebook')
      = @google_authentication_link.render(:html) do |element|
        - element.content_for(:html, :link, 'Google')
      = @my_open_id_authentication_link.render(:html) do |element|
        - element.content_for(:html, :link, 'myOpenID')
      = @yahoo_authentication_link.render(:html) do |element|
        - element.content_for(:html, :link, 'Yahoo!')
      = @null_authentication_link.render(:html) do |element|
        - element.content_for(:html, :link, 'Null')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
RubyApp-0.7.0 lib/ruby_app/elements/mobile/default/features/authentications/default_page.html.haml
RubyApp-0.6.71 lib/ruby_app/elements/mobile/default/features/authentications/default_page.html.haml