Sha256: f29872219206b8d4da19687c19cf9da0fe25cf76f54618ece7aa4efe6975b6aa

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

- title :login.t
- signup_enabled = Olelo::Config['authentication.enable_signup'] && Olelo::User.supports?(:signup)
p
  = signup_enabled ? tabs(:login, :signup) : tabs(:login)
  form action=build_path(:login) method='post'
    #tab-login.tab.fieldset
      h2 Login
      = flash_messages :login
      label for='login-user' = :user.t
      &text#login-user name='user'
      br
      label for='login-password' = :password.t
      &password#login-password name='password'
      br
      .indent
        = render_block :login_buttons do
          button&submit= :login.t
      br
  - if signup_enabled
    form action=build_path(:signup) method='post'
      #tab-signup.tab.fieldset
        h2= :signup.t
        = flash_messages :signup
        label for='signup-user' = :user.t
        &text#signup-user name='user'
        br
        label for='signup-password' = :password.t
        &password#signup-password name='password'
        br
        label for='signup-confirm' = :confirm_password.t
        &password#signup-confirm name='confirm'
        br
        label for='signup-email' = :email.t
        &text#signup-email name='email'
        br
        .indent
          button&submit = :signup.t
        br

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
olelo-0.9.3 views/login.slim