OSDN Git Service

t#30102:update i18n op rp au ar gc gp pc
[pettanr/pettanr.git] / app / views / authors / browse.html.erb
index 86d0e79..a5f1813 100644 (file)
@@ -1,38 +1,24 @@
+<h1><%= t '.title' -%></h1>
 <p id="notice"><%= notice %></p>
 
 <p>
-  <b>name:</b>
-  <%= h(@author.name) %>
+  <b><%= t_m 'Author.id' -%>:</b>
+  <%= h @author.id %>
 </p>
 
 <p>
-  <b>email:</b>
-  <%= h(@author.email) %>
+  <b><%= t_m 'Author.name' -%>:</b>
+  <%= h @author.name %>
 </p>
 
 <p>
-  <b>sign_in_count:</b>
-  <%= @author.sign_in_count %>
+  <b><%= t_m 'Author.created_at' -%>:</b>
+  <%= l @author.created_at %>
 </p>
 
 <p>
-  <b>current_sign_in_at:</b>
-  <%= @author.current_sign_in_at %>
+  <b><%= t_m 'Author.updated_at' -%>:</b>
+  <%= l @author.updated_at %>
 </p>
 
-<p>
-  <b>last_sign_in_at:</b>
-  <%= @author.last_sign_in_at %>
-</p>
-
-<p>
-  <b>current_sign_in_ip:</b>
-  <%= @author.current_sign_in_ip %>
-</p>
-
-<p>
-  <b>last_sign_in_ip:</b>
-  <%= @author.last_sign_in_ip %>
-</p>
-
-<%= link_to 'Back', :action => :list %>
+<%= link_to t('link.back'), :action => :list %>