Sha256: 274d2d135540f33bd8361e8ffa17b5957903c1e2d66addcf236245b1a5deee0f

Contents?: true

Size: 873 Bytes

Versions: 31

Compression:

Stored size: 873 Bytes

Contents

<div class="page_header">
    <h1>Alterar senha</h1>
</div>

<div class="inside">
    <%= form_for(@user) do |f| %>
      <%= f.hidden_field :reset_password_token %>
      
      <% if @user.errors.any? %>
	    <div id="error_explanation">
	      <h2><%= pluralize(@user.errors.count, "erro") %></h2>
	
	      <ul>
	      <% @user.errors.full_messages.each do |msg| %>
	        <li><%= msg %></li>
	      <% end %>
	      </ul>
	    </div>
	  <% end %>
    
      <div class="field">
        <%= f.label :password, 'Senha:' %>
        <%= f.password_field :password %>
      </div>
    
      <div class="field">
          <%= f.label :password_confirmation, 'Confirme a senha:' %>
          <%= f.password_field :password_confirmation %>
      </div>
    
      <div class="actions">
          <%= f.submit 'Salvar', :class => :button %>
      </div>
    <% end %>
</div>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
mdd-3.1.4 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.1.2 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.1.1 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.1.0 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.20 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.19 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.18 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.17 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.16 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.15 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.14 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.13 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.10 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.9 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.8 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.7 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.6 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.4 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.3 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb
mdd-3.0.2 lib/generators/mdwa/sandbox/templates/app/views/a/users/passwords/edit.html.erb