<p>
<%= _'Arc|Code' %> or <%= _'Arc|Summary' %><br />
<%= f.text_field :text %>
- <%= f.submit _("Search") %>
+ <%= f.submit t("search") %>
</p>
<% end %>
<p>
- Total <%=h @arcs.total_entries %>
+ Total <%= @arcs.total_entries %>
</p>
<table class="list arcs">
<thead>
<tbody>
<% for arc in @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>
<p>
- <b><%= 'Arc|Code' %>:</b>
- <%=h @arc.code %>
+ <b><%= _'Arc|Code' %>:</b>
+ <%= @arc.code %>
</p>
<p>
- <b><%= 'Arc|Extname' %>:</b>
- <%=h @arc.extname %>
+ <b><%= _'Arc|Extname' %>:</b>
+ <%= @arc.extname %>
</p>
<p>
- <b><%= 'Arc|Location' %>:</b>
- <%=h @arc.location.code %>
+ <b><%= _'Arc|Location' %>:</b>
+ <%= @arc.location.code %>
</p>
<p>
- <b><%= 'Arc|Locked' %>:</b>
- <%=h(@arc.locked? ? 'yes' : 'no') %>
+ <b><%= _'Arc|Locked' %>:</b>
+ <%= @arc.locked? ? 'yes' : 'no' %>
</p>
<p>
- <b><%= 'Arc|Url' %>:</b>
- <%=h @arc.url %>
+ <b><%= _'Arc|Url' %>:</b>
+ <%= @arc.url %>
</p>
<p>
- <b><%= 'Arc|Summary' %>:</b>
- <%=h @arc.summary %>
+ <b><%= _'Arc|Summary' %>:</b>
+ <%= @arc.summary %>
</p>
<p>
- <b><%= 'Arc|Origname' %>:</b>
- <%=h @arc.origname %>
+ <b><%= _'Arc|Origname' %>:</b>
+ <%= @arc.origname %>
</p>
<%-unless @arc.thumbs.empty?-%>
<p>
- <b><%= 'Arc|Thumbs' %>:</b>
+ <b><%= _'Arc|Thumbs' %>:</b>
</p>
<table class="list thumbs">
<thead>
<tr>
- <th><%= 'Thumb|Video' %></th>
- <th><%= 'Thumb|Title' %></th>
- <th><%= 'Thumb|Description' %></th>
+ <th><%= _'Thumb|Video' %></th>
+ <th><%= _'Thumb|Title' %></th>
+ <th><%= _'Thumb|Description' %></th>
</tr>
</thead>
<tbody>
<% @arc.thumbs.each do |thumb| %>
<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>
<%-unless @arc.pmds.empty?-%>
<p>
- <b><%= 'Arc|Pmds' %>:</b>
+ <b><%= _'Arc|Pmds' %>:</b>
</p>
<table class="list pmds">
<thead>
<tr>
- <th><%= 'Pmd|Path' %></th>
+ <th><%= _'Pmd|Path' %></th>
<th></th>
</tr>
</thead>
<tbody>
<% for pmd in @arc.pmds %>
<tr class="<%= cycle('odd', 'even') %>">
- <td><%=h pmd.path %></td>
- <td><%= link_to _('Show'), pmd %></td>
+ <td><%= pmd.path %></td>
+ <td><%= link_to t('show'), pmd %></td>
</tr>
<% end %>
</tbody>
<%-unless @arc.vmds.empty?-%>
<p>
- <b><%= 'Arc|Vmds' %>:</b>
+ <b><%= _'Arc|Vmds' %>:</b>
</p>
<table class="list vmds">
<thead>
<tr>
- <th><%= 'Vmd|Path' %></th>
+ <th><%= _'Vmd|Path' %></th>
<th></th>
</tr>
</thead>
<tbody>
<% for vmd in @arc.vmds %>
<tr class="<%= cycle('odd', 'even') %>">
- <td><%=h vmd.path %></td>
- <td><%= link_to _('Show'), vmd %></td>
+ <td><%= vmd.path %></td>
+ <td><%= link_to t('show'), vmd %></td>
</tr>
<% end %>
</tbody>
<%-unless @arc.xes.empty?-%>
<p>
- <b><%= 'Arc|Xes' %>:</b>
+ <b><%= _'Arc|Xes' %>:</b>
</p>
<table class="list xes">
<thead>
<tr>
- <th><%= 'X|Path' %></th>
+ <th><%= _'X|Path' %></th>
<th></th>
</tr>
</thead>
<tbody>
<% for x in @arc.xes %>
<tr class="<%= cycle('odd', 'even') %>">
- <td><%=h x.path %></td>
- <td><%= link_to _('Show'), x %></td>
+ <td><%= x.path %></td>
+ <td><%= link_to t('show'), x %></td>
</tr>
<% end %>
</tbody>