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 <%-if @arcs.count != 0-%>
14 <table class="list arcs">
17 <th><%= _'Arc|Code' %></th>
18 <th><%= _'Arc|Extname' %></th>
19 <th><%= _'Arc|Site' %></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_path(arc) %></td>
30 <td><%= arc.extname %></td>
31 <td><%= arc.site.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 <%-if @pmds.count != 0-%>
48 <table class="list pmds">
51 <th><%= _'Arc|Code' %></th>
52 <th><%= _'Arc|Extname' %></th>
53 <th><%= _'Arc|Site' %></th>
54 <th><%= _'Pmd|Path' %></th>
60 <% for pmd in @pmds %>
61 <tr class="<%= cycle('odd', 'even') %>">
62 <td><%=link_to pmd.arc.code, arc_path(pmd.arc) %></td>
63 <td><%= pmd.arc.extname %></td>
64 <td><%= pmd.arc.site.code %></td>
65 <td><%= pmd.path %></td>
71 <div class="pagination">
72 <%= link_to t('and_more'), pmds_path(:search => params[:search]) %>
76 <%-if @vmds.count != 0-%>
80 <table class="list vmds">
83 <th><%= _'Arc|Code' %></th>
84 <th><%= _'Arc|Extname' %></th>
85 <th><%= _'Arc|Site' %></th>
86 <th><%= _'Vmd|Path' %></th>
92 <% for vmd in @vmds %>
93 <tr class="<%= cycle('odd', 'even') %>">
94 <td><%=link_to vmd.arc.code, arc_path(vmd.arc) %></td>
95 <td><%= vmd.arc.extname %></td>
96 <td><%= vmd.arc.site.code %></td>
97 <td><%= vmd.path %></td>
103 <div class="pagination">
104 <%= link_to t('and_more'), vmds_path(:search => params[:search]) %>
108 <%-if @xes.count != 0-%>
112 <table class="list xs">
115 <th><%= _'Arc|Code' %></th>
116 <th><%= _'Arc|Extname' %></th>
117 <th><%= _'Arc|Site' %></th>
118 <th><%= _'X|Path' %></th>
125 <tr class="<%= cycle('odd', 'even') %>">
126 <td><%=link_to x.arc.code, arc_path(x.arc) %></td>
127 <td><%= x.arc.extname %></td>
128 <td><%= x.arc.site.code %></td>
129 <td><%= x.path %></td>
135 <div class="pagination">
136 <%= link_to t('and_more'), xes_path(:search => params[:search]) %>
140 <%-if @thumbs.count != 0-%>
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_path(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]) %>
168 <%-if @seigas.count != 0-%>
170 <b><%= _'seiga' %>:</b>
172 <table class="list seigas">
175 <th><%= _'Seiga|Image' %></th>
176 <th><%= _'Seiga|Title' %></th>
177 <th><%= _'Seiga|Description' %></th>
182 <% for seiga in @seigas %>
183 <tr class="<%= cycle('odd', 'even') %>">
184 <td><%=link_to seiga.image_id, seiga_path(seiga) %></td>
185 <td><%= seiga.title %></td>
186 <td><%= truncate(seiga.description) %></td>
191 <div class="pagination">
192 <%= link_to t('and_more'), seigas_path(:search => params[:search]) %>