Sha256: f1d55d546a11d49c83a32371a6ac7596df945e0ae36222d39e941fd34320e27c

Contents?: true

Size: 1.04 KB

Versions: 10

Compression:

Stored size: 1.04 KB

Contents

<%= form_for @reset_user, :url => kryptonite_password_reset_path do |f| %>

	<% if @reset_user.errors.any? %>
		<div class="error">
			<p>
				<% @reset_user.errors.keys.each do |key| %>
					<%= (key.to_s.humanize + " ") unless key == :base %>
					<%=  @reset_user.errors[key].first %>
				<% end %>
			</p>
		</div>
	<% end %>

	<% if flash[:warning] %>
		<div class="error">
			<p><%= flash[:warning] %></p>
		</div>
	<% end %>

	<% if flash[:notice] %>
		<div class="notice">
			<p><%= flash[:notice] %></p>
		</div>
	<% end %>

	<%= hidden_field_tag :token, params[:token] %>

	<div class="text">
		<p>
			<%= f.label :password, "#{t(:password)}:" %>
		  <%= f.password_field :password, :class => "kryptoniteTextField" %>
		</p>
	</div>

	<div class="text">
		<p>
			<%= f.label :password_confirmation, "#{t(:confirm_password)}:" %>
		  <%= f.password_field :password_confirmation, :class => "kryptoniteTextField" %>
		</p>
	</div>
	
	<div class="submit_remember">
		<p>
			<%= f.submit t(:reset_password), :class => "kryptoniteSubmit" %>
		</p>
	</div>

<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kryptonite-0.1.0 app/views/kryptonite/password_resets/edit.html.erb
kryptonite-0.0.10 app/views/kryptonite/password_resets/edit.html.erb
kryptonite-0.0.9 app/views/kryptonite/password_resets/edit.html.erb
kryptonite-0.0.8 app/views/kryptonite/password_resets/edit.html.erb
kryptonite-0.0.7 app/views/kryptonite/password_resets/edit.html.erb
kryptonite-0.0.6 app/views/kryptonite/password_resets/edit.html.erb
kryptonite-0.0.5 app/views/kryptonite/password_resets/edit.html.erb
kryptonite-0.0.4 app/views/kryptonite/password_resets/edit.html.erb
kryptonite-0.0.3 app/views/kryptonite/password_resets/edit.html.erb
kryptonite-0.0.2 app/views/kryptonite/password_resets/edit.html.erb