OSDN Git Service

temp
[pettanr/pettanr.git] / app / views / artists / show.html.erb
index 96cc8f2..191f9be 100644 (file)
@@ -1,26 +1,26 @@
-<% @page_title = t('.title') + ':' + @ar.name %>
+<% @page_title = t('.title') + ':' + @artist.name %>
 <h1><%= t '.title' -%></h1>
 <p id="notice"><%= notice %></p>
 
 <p>
   <b><%= t_m 'Artist.name' -%>:</b>
-  <%= h @ar.name %>
+  <%= h @artist.name %>
 </p>
 
 <p>
   <b><%= t_m 'Artist.created_at' -%>:</b>
-  <%= l @ar.created_at %>
+  <%= l @artist.created_at %>
 </p>
 
 <p>
   <b><%= t_m 'Artist.updated_at' -%>:</b>
-  <%= l @ar.updated_at %>
+  <%= l @artist.updated_at %>
 </p>
 
 <p>
-  <%= link_to t('artists.show.to_resource_pictures'), resource_pictures_artist_path(@ar) %>
+  <%= link_to t('artists.show.to_resource_pictures'), resource_pictures_artist_path(@artist) %>
 </p>
 
-<% if @ar.own?(@artist) %>
-  <%= link_to t('link.edit'), edit_artist_path(@ar) %>
+<% if @artist.own?(@artist) %>
+  <%= link_to t('link.edit'), edit_artist_path(@artist) %>
 <% end %>