Sha256: 0499e3035458d0619b35099b2416a155e0e5177a7c2fcfdb106c71c2229dd2c0
Contents?: true
Size: 1.37 KB
Versions: 3
Compression:
Stored size: 1.37 KB
Contents
<h1><%= t('authentication.login_now') %></h1> <%= form_tag sessions_path, class: 'simple_form form-horizontal' do %> <div class="form-inputs"> <div class="control-group email required"> <%= label_tag :email, t('activerecord.attributes.user.email'), class: "email required control-label" %> <div class="controls"> <%= text_field_tag :email, params[:email], :html => { class: 'string email required' } %> <p class="help-block"><%= link_to t('authentication.not_registered'), signup_path %></p> </div> </div> <div class="control-group password required"> <%= label_tag :password, t('activerecord.attributes.user.password'), class: "password required control-label" %> <div class="controls"> <%= password_field_tag :password %> <p class="help-block"><%= link_to t('authentication.forgot_password'), new_password_reset_path %></p> </div> </div> <div class="control-group boolean optional"> <div class="controls"> <label class="checkbox"><input class="boolean optional" id="remember_me" name="remember_me" type="checkbox" value="1" /><%= t('authentication.remember_me') %></label> </div> </div> </div> <div class="form-actions"> <%= submit_tag t('authentication.login_now'), class: 'btn btn-primary' %> </div> <% end %> <%# partial in tkh_menus gem or has to be added in host app %> <%= render './shared/menus' %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tkh_authentication-0.1.2 | app/views/sessions/new.html.erb |
tkh_authentication-0.1.1 | app/views/sessions/new.html.erb |
tkh_authentication-0.1 | app/views/sessions/new.html.erb |