<%= t('account.heading') %>

<% unless errors.empty? %>

<%= t('posts.errors_heading') %>

<% end %> <% form_for(user, url: '/account', method: :patch) do |f| %>

<%== f.label(:email, t('account.email_label')) %> <%== f.email_field(:email) %> <%== f.error_messages(:email) %>

<%== f.submit(t('account.submit')) %> <% end %>

<%== link_to(t('posts.back_to_list'), url_for(:root)) %>