2013-01-11 23:49:59 +00:00
|
|
|
<%#
|
|
|
|
# @file
|
2013-01-26 01:49:40 +00:00
|
|
|
# /users/:id/edit
|
2013-01-11 23:49:59 +00:00
|
|
|
# User edit form
|
|
|
|
#%>
|
2013-07-09 16:32:13 +00:00
|
|
|
|
|
|
|
<% content_for :title, @user.name + "'s Settings | Metamaps" %>
|
2014-05-14 20:16:26 +00:00
|
|
|
<%= formula_form_for @user, url: user_url do |form| %>
|
2014-01-29 03:46:58 +00:00
|
|
|
<h1 class="index">Your Settings</h1>
|
2013-07-09 16:32:13 +00:00
|
|
|
|
2014-05-14 20:16:26 +00:00
|
|
|
|
2012-10-26 10:04:52 +00:00
|
|
|
<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
|
|
|
|
2013-01-11 23:49:59 +00:00
|
|
|
<% end %>
|
2013-01-26 01:49:40 +00:00
|
|
|
|