Blob of app/views/accounts/edit.html.erb (raw blob data)

1 <h1>Edit your account</h1>
2 <%= error_messages_for :user -%>
3
4 <% form_for @user, :url => account_path do |f| -%>
5 <p>
6 <%= f.label :email -%><br />
7 <%= f.text_field :email, :class => "text" -%>
8 </p>
9 <p>
10 <%= f.label :fullname, "Realname" -%><br />
11 <%= f.text_field :fullname, :class => "text" -%>
12 </p>
13 <p>
14 <%= f.label :url, "url <small>blog etc</small>" -%><br />
15 <%= f.text_field :url, :class => "text" -%>
16 </p>
17 <%= f.submit "Save" -%>
18 <% end -%>
19
20 <% content_for :submenu do -%>
21 <ul>
22 <li><%= link_to "&#x2190; My account", account_path -%></li>
23 <li><%= link_to "&#x2192; Change password", password_account_path -%></li>
24 </ul>
25 <% end -%>