OSDN Git Service

removed h
authornomeu <nomeu@users.sourceforge.jp>
Wed, 6 Jul 2011 11:44:23 +0000 (20:44 +0900)
committernomeu <nomeu@users.sourceforge.jp>
Wed, 6 Jul 2011 11:44:23 +0000 (20:44 +0900)
app/views/locations/index.html.erb
app/views/locations/show.html.erb
app/views/thumbs/show.html.erb
app/views/vmds/show.html.erb
app/views/welcome/index.html.erb
app/views/xes/show.html.erb

index 6c476a9..0fd7e59 100644 (file)
@@ -10,9 +10,9 @@
   <tbody>
 <% @locations.each do |location| %>
   <tr class="<%= cycle('odd', 'even') %>">
   <tbody>
 <% @locations.each do |location| %>
   <tr class="<%= cycle('odd', 'even') %>">
-    <td><%=h location.code %></td>
-    <td><%=h location.site %></td>
-    <td><%=h location.summary %></td>
+    <td><%= location.code %></td>
+    <td><%= location.site %></td>
+    <td><%= location.summary %></td>
   </tr>
 <% end %>
   </tbody>
   </tr>
 <% end %>
   </tbody>
index 62418f5..b4761c4 100644 (file)
@@ -1,18 +1,18 @@
 <p>
   <b>Code:</b>
 <p>
   <b>Code:</b>
-  <%=h @location.code %>
+  <%= @location.code %>
 </p>
 
 <p>
   <b>Site:</b>
 </p>
 
 <p>
   <b>Site:</b>
-  <%=h @location.site %>
+  <%= @location.site %>
 </p>
 
 <p>
   <b>Summary:</b>
 </p>
 
 <p>
   <b>Summary:</b>
-  <%=h @location.summary %>
+  <%= @location.summary %>
 </p>
 
 
 <%= link_to 'Edit', edit_location_path(@location) %> |
 </p>
 
 
 <%= link_to 'Edit', edit_location_path(@location) %> |
-<%= link_to 'Back', locations_path %>
\ No newline at end of file
+<%= link_to 'Back', locations_path %>
index 41606f1..3671b0b 100644 (file)
@@ -1,16 +1,16 @@
 <p>
   <b><%= _'Thumb|Video' %>:</b>
 <p>
   <b><%= _'Thumb|Video' %>:</b>
-  <%=h @thumb.video_id %>
+  <%= @thumb.video_id %>
 </p>
 
 <p>
   <b><%= _'Thumb|Title' %>:</b>
 </p>
 
 <p>
   <b><%= _'Thumb|Title' %>:</b>
-  <%=h @thumb.title %>
+  <%= @thumb.title %>
 </p>
 
 <p>
   <b><%= _'Thumb|Description' %>:</b>
 </p>
 
 <p>
   <b><%= _'Thumb|Description' %>:</b>
-  <%=h @thumb.description %>
+  <%= @thumb.description %>
 </p>
 
 <%= nico_thumb(@thumb.video_id) %>
 </p>
 
 <%= nico_thumb(@thumb.video_id) %>
   <tbody>
 <% for arc in @thumb.arcs %>
   <tr class="<%= cycle('odd', 'even') %>">
   <tbody>
 <% for arc in @thumb.arcs %>
   <tr class="<%= cycle('odd', 'even') %>">
-    <td><%=link_to h(arc.code), arc %></td>
-    <td><%=h arc.extname %></td>
-    <td><%=h arc.location.code %></td>
-    <td><%=h(arc.locked? ? 'yes' : 'no') %></td>
-    <td><%=h arc.summary %></td>
-    <td><%=h arc.origname %></td>
+    <td><%=link_to arc.code, arc %></td>
+    <td><%= arc.extname %></td>
+    <td><%= arc.location.code %></td>
+    <td><%= arc.locked? ? 'yes' : 'no' %></td>
+    <td><%= arc.summary %></td>
+    <td><%= arc.origname %></td>
   </tr>
 <% end %>
   </tbody>
   </tr>
 <% end %>
   </tbody>
index 14736e4..05e1b2e 100644 (file)
@@ -1,9 +1,9 @@
 <p>
   <b><%= _'Vmd|Path' %>:</b>
 <p>
   <b><%= _'Vmd|Path' %>:</b>
-  <%=h @vmd.path %>
+  <%= @vmd.path %>
 </p>
 
 <p>
   <b>含まれる<%= _'Vmd|Arc' %>:</b>
 </p>
 
 <p>
   <b>含まれる<%= _'Vmd|Arc' %>:</b>
-  <%=link_to h(@vmd.arc.code), @vmd.arc %>
+  <%=link_to @vmd.arc.code, @vmd.arc %>
 </p>
 </p>
index 39e5240..962c040 100644 (file)
   <tbody>
 <% for pmd in @pmds %>
   <tr class="<%= cycle('odd', 'even') %>">
   <tbody>
 <% for pmd in @pmds %>
   <tr class="<%= cycle('odd', 'even') %>">
-    <td><%=link_to h(pmd.arc.code), pmd.arc %></td>
-    <td><%=h pmd.arc.extname %></td>
-    <td><%=h pmd.arc.location.code %></td>
-    <td><%=h pmd.path %></td>
+    <td><%=link_to pmd.arc.code, pmd.arc %></td>
+    <td><%= pmd.arc.extname %></td>
+    <td><%= pmd.arc.location.code %></td>
+    <td><%= pmd.path %></td>
     <td><%= link_to _('Show'), pmd %></td>
   </tr>
 <% end %>
     <td><%= link_to _('Show'), pmd %></td>
   </tr>
 <% end %>
   <tbody>
 <% for vmd in @vmds %>
   <tr class="<%= cycle('odd', 'even') %>">
   <tbody>
 <% for vmd in @vmds %>
   <tr class="<%= cycle('odd', 'even') %>">
-    <td><%=link_to h(vmd.arc.code), vmd.arc %></td>
-    <td><%=h vmd.arc.extname %></td>
-    <td><%=h vmd.arc.location.code %></td>
-    <td><%=h vmd.path %></td>
+    <td><%=link_to vmd.arc.code, vmd.arc %></td>
+    <td><%= vmd.arc.extname %></td>
+    <td><%= vmd.arc.location.code %></td>
+    <td><%= vmd.path %></td>
     <td><%= link_to _('Show'), vmd %></td>
   </tr>
 <% end %>
     <td><%= link_to _('Show'), vmd %></td>
   </tr>
 <% end %>
   <tbody>
 <% for x in @xes %>
   <tr class="<%= cycle('odd', 'even') %>">
   <tbody>
 <% for x in @xes %>
   <tr class="<%= cycle('odd', 'even') %>">
-    <td><%=link_to h(x.arc.code), x.arc %></td>
-    <td><%=h x.arc.extname %></td>
-    <td><%=h x.arc.location.code %></td>
-    <td><%=h x.path %></td>
+    <td><%=link_to x.arc.code, x.arc %></td>
+    <td><%= x.arc.extname %></td>
+    <td><%= x.arc.location.code %></td>
+    <td><%= x.path %></td>
     <td><%= link_to _('Show'), x %></td>
   </tr>
 <% end %>
     <td><%= link_to _('Show'), x %></td>
   </tr>
 <% end %>
   <tbody>
 <% for thumb in @thumbs %>
   <tr class="<%= cycle('odd', 'even') %>">
   <tbody>
 <% for thumb in @thumbs %>
   <tr class="<%= cycle('odd', 'even') %>">
-    <td><%=link_to h(thumb.video_id), thumb %></td>
-    <td><%=h thumb.title %></td>
-    <td><%=h truncate(thumb.description) %></td>
+    <td><%=link_to thumb.video_id, thumb %></td>
+    <td><%= thumb.title %></td>
+    <td><%= truncate(thumb.description) %></td>
   </tr>
 <% end %>
   </tbody>
   </tr>
 <% end %>
   </tbody>
index 98be65d..935c88d 100644 (file)
@@ -1,9 +1,9 @@
 <p>
   <b><%= _'X|Path' %>:</b>
 <p>
   <b><%= _'X|Path' %>:</b>
-  <%=h @x.path %>
+  <%= @x.path %>
 </p>
 
 <p>
   <b>含まれる<%= _'X|Arc' %>:</b>
 </p>
 
 <p>
   <b>含まれる<%= _'X|Arc' %>:</b>
-  <%=link_to h(@x.arc.code), @x.arc %>
+  <%=link_to @x.arc.code, @x.arc %>
 </p>
 </p>