2014-05-14 20:16:26 +00:00
|
|
|
<%#
|
|
|
|
# @file
|
|
|
|
# /users/:id/edit
|
|
|
|
# User edit form
|
|
|
|
#%>
|
|
|
|
|
|
|
|
<% content_for :title, @user.name + "'s Settings | Metamaps" %>
|
2014-05-14 20:51:16 +00:00
|
|
|
<%= formula_form_for @user, url: user_url do |form| %>
|
2014-05-14 20:16:26 +00:00
|
|
|
<h1 class="index">Your Settings</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<h3>Edit Account</h3>
|
|
|
|
<%= form.input :name, label: "Name", class: "name" %>
|
|
|
|
<%= form.input :email, label: "Email", class: "email" %>
|
|
|
|
<%= form.input :password, label: "Password", class: "password" %>
|
|
|
|
<%= form.submit "Update", class: "update" %>
|
2014-05-15 22:28:30 +00:00
|
|
|
<% :bypass=>true to sign_in(@user) %>
|
2014-05-14 20:16:26 +00:00
|
|
|
<% end %>
|
|
|
|
|