<%= t '.title' -%>

<%= notice %>

<%= t('home.configure.caption', :email => @operators.user.email) %>

<%= t 'home.configure.password_caption' -%>

<%= render '/users/registrations/form', :resource => @operators.user %>

<%= t 'home.configure.token_caption' -%>

<% if @operators.user.authentication_token %>
<%= t 'home.configure.your_token', :token => @operators.user.authentication_token -%>
<%= link_to t('home.configure.delete_token'), :action => :delete_token %> <% else %>
<%= t 'home.configure.about_token' -%>
<%= link_to t('home.configure.generate_token'), :action => :create_token %> <% end %>

<%= t 'home.configure.cancel_caption' -%>

<%= link_to t('home.configure.cancel_account'), registration_path('user'), :confirm => "Are you sure?", :method => :delete %>

<%= t_m 'Author' -%>

<% if @operators.author %> <%= render '/authors/form', :author => @operators.author %> <% else %>
<%= t 'home.configure.no_author' -%>
<%= t 'home.configure.about_author' -%>
<% @author = Author.new ; @author.supply_default %> <%= render '/authors/form', :author => @author %> <% end %>

<%= t_m 'Artist' -%>

<% if @operators.artist %> <%= render '/artists/form', :artist => @operators.artist %> <% else %>
<%= t 'home.configure.no_artist' -%>
<%= t 'home.configure.about_artist' -%>
<% @artist = Artist.new ; @artist.supply_default %> <%= render '/artists/form', :artist => @artist %> <% end %>