Sha256: d396c87e706aedc9ed7a122d66ce1529743a3ed2c296a8e169f935ed285d07ee

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

<%= 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 %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tkh_authentication-0.9.6 app/views/sessions/_form.html.erb
tkh_authentication-0.9.5 app/views/sessions/_form.html.erb
tkh_authentication-0.9.4 app/views/sessions/_form.html.erb
tkh_authentication-0.9.3 app/views/sessions/_form.html.erb
tkh_authentication-0.1.11 app/views/sessions/_form.html.erb