Sha256: d8b62fffc064b9a8b5e0cbebf373986f5cce7ef0afe4073a9583b31406e93ef9

Contents?: true

Size: 818 Bytes

Versions: 5

Compression:

Stored size: 818 Bytes

Contents

/ TODO: How can we detect a google registration? Extra parameter to the callback? Or a custom callback page?
.row
  .col-md-2
  .col-md-8
    .panel.panel-default
      .panel-body
        - if Ditty::Services::Authentication.provides? 'identity'
          = haml :'auth/register_identity', locals: { identity: identity }
          .row
            .col-sm-12= " "
        .row
          .col-sm-8.col-sm-push-2
            - Ditty::Services::Authentication.providers.each do |name|
              - provider = Ditty::Services::Authentication[name]
              - next if provider[:register_prompt].nil?
              %a.btn.btn-block.btn-default{ href: "#{settings.map_path}/auth/#{name}" }
                %i.fa{ class: "fa-#{provider[:icon] || 'key'}"}
                = provider[:register_prompt]
  .col-md-2

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ditty-0.8.0 views/auth/register.haml
ditty-0.7.2 views/auth/register.haml
ditty-0.7.1 views/auth/register.haml
ditty-0.7.0 views/auth/register.haml
ditty-0.7.0.pre.rc1 views/auth/register.haml