Sha256: 245be2ef73f2849ed58d88b0f1f87b7046b643e6fec75985aea3b1e9394cfaa0

Contents?: true

Size: 598 Bytes

Versions: 2

Compression:

Stored size: 598 Bytes

Contents

<h2><%= t(:'adva.passwords.titles.edit') %></h2>

<p><%= params[:token].blank? ? t(:'adva.passwords.info.please_enter_new_password_and_token') : t(:'adva.passwords.info.please_enter_new_password') %></p>

<%= form_for 'user', :url => password_path, :html => { :method => :put } do |f| %>
  <% f.field_set do %>
		<%= label_tag(t(:'adva.passwords.attributes.token')) + text_field_tag('token') unless current_user %>
		<%= f.password_field :password, :label => :"adva.users.attributes.new_password" %>
  <% end %>

  <% f.buttons do %>
		<%= submit_tag t(:'adva.common.save') %>
	<% end %>
<% end %>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
adva_user-0.0.1 app/views/password/edit.html.erb
adva-0.0.1 adva_user/app/views/password/edit.html.erb