1 <h1><%= t '.title' -%></h1>
2 <p id="notice"><%= notice %></p>
4 <%= t('home.configure.caption', :email => @user.email) %>
5 <table class="no-border" width="100%">
8 <h2><%= t 'home.configure.password_caption' -%></h2>
9 <%= render '/users/registrations/form', :resource => @user %>
10 <h2><%= t 'home.configure.token_caption' -%></h2>
11 <% if @user.authentication_token %>
12 <div><%= t 'home.configure.your_token', :token => @user.authentication_token -%></div>
13 <%= link_to t('home.configure.delete_token'), :action => :delete_token %>
15 <div><%= t 'home.configure.about_token' -%></div>
16 <%= link_to t('home.configure.generate_token'), :action => :create_token %>
18 <h2><%= t 'home.configure.cancel_caption' -%></h2>
19 <%= link_to t('home.configure.cancel_account'), registration_path('user'), :confirm => "Are you sure?", :method => :delete %>
22 <h2><%= t_m 'Author' -%></h2>
24 <%= render '/authors/form', :au => @author %>
26 <div><%= t 'home.configure.no_author' -%></div>
27 <div><%= t 'home.configure.about_author' -%></div>
28 <% @au = Author.new ; @au.supply_default %>
29 <%= render '/authors/form', :au => @au %>
31 <h2><%= t_m 'Artist' -%></h2>
33 <%= render '/artists/form', :ar => @artist %>
35 <div><%= t 'home.configure.no_artist' -%></div>
36 <div><%= t 'home.configure.about_artist' -%></div>
37 <% @ar = Artist.new ; @ar.supply_default %>
38 <%= render '/artists/form', :ar => @ar %>