OSDN Git Service

t#30102:update i18n op rp au ar gc gp pc
[pettanr/pettanr.git] / app / views / home / configure.html.erb
1 <h2>認証トークン</h2>
2 <div>
3 あなたの認証トークンは<%= @user.authentication_token %>です
4 </div>
5 <div>
6   <% if @user.authentication_token %>
7     <%= link_to 'delete token', :action => :delete_token %>
8   <% else %>
9     <%= link_to 'generate token', :action => :create_token %>
10   <% end %>
11 </div>
12 <div>
13   <h2>作家</h2>
14   <%= link_to 'edit author profile', edit_author_path(@author) %>
15 </div>
16 <div>
17   <h2>絵師</h2>
18   <% if @artist %>
19     <%= link_to 'edit artist profile', edit_artist_path(@artist) %>
20   <% else %>
21     <%= link_to 'regist artist', new_artist_path %>
22   <% end %>
23 </div>
24 <h2>退会</h2>
25 <div>
26   <%= link_to('退会する', {:controller => 'user_registrations', :action => :destroy, :id => @user.id}, {:method => :delete}) %>
27 </div>