Sha256: 89054d5cd6345efdcab3af224491e41d95363d86ff51d0d9fa2b6a3356165a65

Contents?: true

Size: 1.01 KB

Versions: 14

Compression:

Stored size: 1.01 KB

Contents

<%= form_for @reset_user, :url => casein_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, "Password:" %>
		  <%= f.password_field :password, :class => "caseinTextField" %>
		</p>
	</div>

	<div class="text">
		<p>
			<%= f.label :password_confirmation, "Confirm password:" %>
		  <%= f.password_field :password_confirmation, :class => "caseinTextField" %>
		</p>
	</div>
	
	<div class="submit_remember">
		<p>
			<%= f.submit "Reset password", :class => "caseinSubmit" %>
		</p>
	</div>

<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
casein-4.0.0 app/views/casein/password_resets/edit.html.erb
casein-4.0.0.beta1 app/views/casein/password_resets/edit.html.erb
casein-3.1.11 app/views/casein/password_resets/edit.html.erb
casein-3.1.10 app/views/casein/password_resets/edit.html.erb
casein-3.1.9 app/views/casein/password_resets/edit.html.erb
casein-3.1.8 app/views/casein/password_resets/edit.html.erb
casein-3.1.7 app/views/casein/password_resets/edit.html.erb
casein-3.1.6 app/views/casein/password_resets/edit.html.erb
casein-3.1.5 app/views/casein/password_resets/edit.html.erb
casein-3.1.4 app/views/casein/password_resets/edit.html.erb
casein-3.1.3 app/views/casein/password_resets/edit.html.erb
casein-3.1.2 app/views/casein/password_resets/edit.html.erb
casein-3.1.1 app/views/casein/password_resets/edit.html.erb
casein-3.1.0 app/views/casein/password_resets/edit.html.erb