mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-23 15:44:09 +01:00
finish gui changes
This commit is contained in:
parent
977b57dbb2
commit
89ec9898a3
15 changed files with 2459 additions and 2124 deletions
4
app/views/users/_update_password.html.erb
Normal file
4
app/views/users/_update_password.html.erb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<label for="user[password]"><%= t('users.new_password_label') %>:</label><br/>
|
||||
<%= password_field "user", "password", :size => 40 %><br/>
|
||||
<label for="user[password_confirmation]"><%= t('users.password_confirmation_label') %>:</label><br/>
|
||||
<%= password_field "user", "password_confirmation", :size => 40 %><br/>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<div id="single_box" class="container context">
|
||||
|
||||
|
||||
<h2><%= @page_title %></h2>
|
||||
|
||||
<%= error_messages_for 'user' %>
|
||||
|
|
@ -7,20 +7,10 @@
|
|||
<p><%= t('users.change_password_prompt') %></p>
|
||||
|
||||
<% form_tag :action => 'update_password' do %>
|
||||
<table width="440px">
|
||||
<tr>
|
||||
<td><label for="updateuser_password"><%= t('users.new_password_label') %>:</label></td>
|
||||
<td><%= password_field "updateuser", "password", :size => 40 %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="updateuser_password_confirmation"><%= t('users.password_confirmation_label') %>:</label></td>
|
||||
<td><%= password_field "updateuser", "password_confirmation", :size => 40 %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><%= link_to t('common.cancel'), preferences_path %></td>
|
||||
<td><%= submit_tag t('users.change_password_submit') %></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%= render :partial => 'update_password' %>
|
||||
<br/>
|
||||
<%= link_to t('common.cancel'), preferences_path %>
|
||||
<%= submit_tag t('users.change_password_submit') %>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue