Sha256: c2f8f21f907d15c353177793c4437eb6ea3b2be8b47f9946e45534d172db078d

Contents?: true

Size: 1.07 KB

Versions: 7

Compression:

Stored size: 1.07 KB

Contents

- title :login.t
= flash_messages
- signup_enabled = Olelo::Config['authentication.enable_signup'] && Olelo::User.supports?(:signup)
= signup_enabled ? tabs(:login, :signup) : tabs(:login)
form action=build_path(:login) method='post'
  #tab-login.tab.fieldset
    h2 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
      = wrap_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
      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

7 entries across 7 versions & 1 rubygems

Version Path
olelo-0.9.15 lib/olelo/views/login.slim
olelo-0.9.14 lib/olelo/views/login.slim
olelo-0.9.13 lib/olelo/views/login.slim
olelo-0.9.12 lib/olelo/views/login.slim
olelo-0.9.11 lib/olelo/views/login.slim
olelo-0.9.10 lib/olelo/views/login.slim
olelo-0.9.9 lib/olelo/views/login.slim