app/views/as_user/users/edit.html.erb in as_user-0.0.3 vs app/views/as_user/users/edit.html.erb in as_user-0.0.4

- old
+ new

@@ -1,19 +1,14 @@ -<h1>Editing user</h1> - -<%#= render 'form' %> -<%= form_for(@user) do |f| %> - <div class="field"> - <%= f.label :email %><br /> - <%= f.text_field :email %> - </div> - <div class="field"> - <%= f.label :name %><br /> - <%= f.text_field :name %> - </div> - <div class="actions"> - <%= f.submit %> - </div> +<%= content_for :nav do %> + <%= link_to 'Cancel', @user %> <% end %> -<%= link_to 'Show', @user %> | -<%= link_to 'Back', users_path %> +<div class="form-box"> + <%= form_for(@user) do |f| %> + <table class="form-table"> + <tr> <td> <%= f.label :email %>: </td> <td> <%= f.text_field :email %> </td> </tr> + <tr> <td> <%= f.label :name %>: </td> <td> <%= f.text_field :name %> </td> </tr> + <tr> <td colspan="2"> <%= f.submit %> </td> </tr> + </table> + <% end %> +</div> +