% title "User: " + @user.first_name + " " + @user.last_name %>
This edit mode demo app shows how edit_mode looks like.
You can either click on the information to directly edit them via best_in_place, or you can use the 'edit' links to activate the edit mode.
First Name: <%= best_in_place @user, :first_name %>
Last Name: <%= best_in_place @user, :last_name %>
Date Of Birth: <%= best_in_place @user, :date_of_birth %> delete
add<%= link_to "View All Users", users_path %>