Sha256: f26e0ab0e15508d30e580b9672743fdbb682491df6ab83a990282723ec6bfe4e

Contents?: true

Size: 619 Bytes

Versions: 1

Compression:

Stored size: 619 Bytes

Contents

- title t('log_in_title')

%p== t('sign_up_message', :url => signup_path)

<%- if options[:authlogic] -%>
- semantic_form_for @<%= session_singular_name %> do |f|
  = f.error_message_on :base
  - f.inputs do
    = f.input :username
    = f.input :password
  - f.buttons do
    = f.commit_button t('log_in_button')
<%- else -%>
- form_tag <%= session_plural_name %>_path do
  %p
    = label_tag :login, t('login_label')
    %br
    = text_field_tag :login, params[:login]
  %p
    = label_tag :password, t('password_label')
    %br
    = password_field_tag :password
  %p
    = submit_tag t('log_in_button')
<%- end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
splendeo-generators-0.2.1 rails_generators/splendeo_authentication/templates/views/haml/login.html.haml