Initial commit of foodsoft 2
This commit is contained in:
commit
5b9a7e05df
657 changed files with 70444 additions and 0 deletions
11
app/views/login/password.rhtml
Normal file
11
app/views/login/password.rhtml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<h1>Neues Passwort</h1>
|
||||
<p>Bitte neues Passwort für <%=h @user.nick %> eingeben.</p>
|
||||
<% if flash[:error] %><p style="color: red"><%= flash[:error] %></p><% end %>
|
||||
<div class="edit_form" style="width:25em">
|
||||
<% form_tag(:action => 'new', :id => @user.id, :token => @user.reset_password_token) do %>
|
||||
<p><label for="user">Neues Passwort</label><br/>
|
||||
<%= password_field_tag "user[password]" %></p>
|
||||
<p><label for="user">Passwort wiederholen</label><br/>
|
||||
<%= password_field_tag "user[password_confirmation]" %></p>
|
||||
<%= submit_tag 'Speichern' %> | <%= link_to 'abbrechen', :action => 'login' %>
|
||||
<% end %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue