OSDN Git Service

temp
[pettanr/pettanr.git] / app / views / authors / show.html.erb
index 2ffcf81..031c159 100644 (file)
@@ -1,70 +1,70 @@
-<% @page_title = t('.title') + ':' + @au.name %>
+<% @page_title = t('.title') + ':' + @author.name %>
 <h1><%= t '.title' -%></h1>
 <p id="notice"><%= notice %></p>
 
 <p>
   <b><%= t_m 'Author.name' -%>:</b>
-  <%= h @au.name %>
+  <%= h @author.name %>
 </p>
 
 <p>
   <b><%= t_m 'Author.created_at' -%>:</b>
-  <%= l @au.created_at %>
+  <%= l @author.created_at %>
 </p>
 
 <p>
   <b><%= t_m 'Author.updated_at' -%>:</b>
-  <%= l @au.updated_at %>
+  <%= l @author.updated_at %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_scrolls'), scrolls_author_path(@au) %>
+  <%= link_to t('authors.show.to_scrolls'), scrolls_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_scroll_panels'), scroll_panels_author_path(@au) %>
+  <%= link_to t('authors.show.to_scroll_panels'), scroll_panels_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_comics'), comics_author_path(@au) %>
+  <%= link_to t('authors.show.to_comics'), comics_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_stories'), stories_author_path(@au) %>
+  <%= link_to t('authors.show.to_stories'), stories_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_story_sheets'), story_sheets_author_path(@au) %>
+  <%= link_to t('authors.show.to_story_sheets'), story_sheets_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_sheets'), sheets_author_path(@au) %>
+  <%= link_to t('authors.show.to_sheets'), sheets_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_sheet_panels'), sheet_panels_author_path(@au) %>
+  <%= link_to t('authors.show.to_sheet_panels'), sheet_panels_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_panels'), panels_author_path(@au) %>
+  <%= link_to t('authors.show.to_panels'), panels_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_panel_pictures'), panel_pictures_author_path(@au) %>
+  <%= link_to t('authors.show.to_panel_pictures'), panel_pictures_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_speech_balloons'), speech_balloons_author_path(@au) %>
+  <%= link_to t('authors.show.to_speech_balloons'), speech_balloons_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_ground_pictures'), ground_pictures_author_path(@au) %>
+  <%= link_to t('authors.show.to_ground_pictures'), ground_pictures_author_path(@author) %>
 </p>
 
 <p>
-  <%= link_to t('authors.show.to_ground_colors'), ground_colors_author_path(@au) %>
+  <%= link_to t('authors.show.to_ground_colors'), ground_colors_author_path(@author) %>
 </p>
 
-<% if @au.own?(@author) %>
-  <%= link_to t('link.edit'), edit_author_path(@au) %>
+<% if @author.own?(@author) %>
+  <%= link_to t('link.edit'), edit_author_path(@author) %>
 <% end %>