2 <%=form_for(@search, :as => :search, :url => root_path, :html => { :method => :get }) do |f| %>
4 <%= f.text_field :text %>
5 <%= f.submit t("search") %>
10 <%-unless @arcs.empty?-%>
14 <table class="list arcs">
17 <th><%= _'Arc|Code' %></th>
18 <th><%= _'Arc|Extname' %></th>
19 <th><%= _'Arc|Location' %></th>
20 <th><%= _'Arc|Locked' %></th>
21 <th><%= _'Arc|Summary' %></th>
22 <th><%= _'Arc|Origname' %></th>
27 <% for arc in @arcs %>
28 <tr class="<%= cycle('odd', 'even') %>">
29 <td><%=link_to arc.code, arc %></td>
30 <td><%= arc.extname %></td>
31 <td><%= arc.location.code %></td>
32 <td><%= arc.locked? ? 'yes' : 'no' %></td>
33 <td><%= arc.summary %></td>
34 <td><%= arc.origname %></td>
39 <div class="pagination">
40 <%= link_to t('and_more'), arcs_path(:search => params[:search]) %>
44 <%-unless @pmds.empty?-%>
48 <table class="list pmds">
51 <th><%= _'Arc|Code' %></th>
52 <th><%= _'Arc|Extname' %></th>
53 <th><%= _'Arc|Location' %></th>
54 <th><%= _'Pmd|Path' %></th>
60 <% for pmd in @pmds %>
61 <tr class="<%= cycle('odd', 'even') %>">
62 <td><%=link_to pmd.arc.code, pmd.arc %></td>
63 <td><%= pmd.arc.extname %></td>
64 <td><%= pmd.arc.location.code %></td>
65 <td><%= pmd.path %></td>
66 <td><%= link_to t('show'), pmd %></td>
71 <div class="pagination">
72 <%= link_to t('and_more'), pmds_path(:search => params[:search]) %>
76 <%-unless @vmds.empty?-%>
80 <table class="list vmds">
83 <th><%= _'Arc|Code' %></th>
84 <th><%= _'Arc|Extname' %></th>
85 <th><%= _'Arc|Location' %></th>
86 <th><%= _'Vmd|Path' %></th>
92 <% for vmd in @vmds %>
93 <tr class="<%= cycle('odd', 'even') %>">
94 <td><%=link_to vmd.arc.code, vmd.arc %></td>
95 <td><%= vmd.arc.extname %></td>
96 <td><%= vmd.arc.location.code %></td>
97 <td><%= vmd.path %></td>
98 <td><%= link_to t('show'), vmd %></td>
103 <div class="pagination">
104 <%= link_to t('and_more'), vmds_path(:search => params[:search]) %>
108 <%-unless @xes.empty?-%>
112 <table class="list xs">
115 <th><%= _'Arc|Code' %></th>
116 <th><%= _'Arc|Extname' %></th>
117 <th><%= _'Arc|Location' %></th>
118 <th><%= _'X|Path' %></th>
125 <tr class="<%= cycle('odd', 'even') %>">
126 <td><%=link_to x.arc.code, x.arc %></td>
127 <td><%= x.arc.extname %></td>
128 <td><%= x.arc.location.code %></td>
129 <td><%= x.path %></td>
130 <td><%= link_to t('show'), x %></td>
135 <div class="pagination">
136 <%= link_to t('and_more'), xes_path(:search => params[:search]) %>
140 <%-unless @thumbs.empty?-%>
142 <b><%= _'thumb' %>:</b>
144 <table class="list thumbs">
147 <th><%= _'Thumb|Video' %></th>
148 <th><%= _'Thumb|Title' %></th>
149 <th><%= _'Thumb|Description' %></th>
154 <% for thumb in @thumbs %>
155 <tr class="<%= cycle('odd', 'even') %>">
156 <td><%=link_to thumb.video_id, thumb %></td>
157 <td><%= thumb.title %></td>
158 <td><%= truncate(thumb.description) %></td>
163 <div class="pagination">
164 <%= link_to t('and_more'), thumbs_path(:search => params[:search]) %>