Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/redmine_glossary/app/views/glossary_styles/_search.html.erb

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (show annotations) (download)
Sun Mar 23 19:06:39 2014 UTC (10 years, 1 month ago) by myoshida
File size: 1263 byte(s)
Fix form unvisible. 
<% form_tag .. %>  =>  <%= form_tag .. %>
1
2 <%= form_tag({:controller => 'glossary_styles', :action => 'search', :project_id => @project},
3 {:method => 'get', :id=>'search_form'}
4 ) do %>
5 <%= hidden_field_tag 'project_id', @project.id.to_s %>
6 <div id="glossary_search" class="hide-when-print">
7 <fieldset id="filters" class="collapsible <%= (glossary_searching?) ? "" : "collapsed" %>">
8 <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
9 <div style="<%= (glossary_searching?) ? "" : "display: none;" %>">
10
11 <table>
12
13 <tr><th><%=h l(:label_search) %></th>
14 <td>
15 <%= text_field_tag("search_str", params[:search_str]) %>
16 </td></tr>
17
18 <tr><th><%=h l(:field_category) %></th>
19 <td>
20 <%=
21 select_tag(:search_category,
22 options_for_select(seach_category_options(@glossary_style.project_scope, @project),
23 params[:search_category]),
24 {:include_blank => true})
25 %>
26 </td></tr>
27
28 <tr><th><%=h l(:label_latest) %></th>
29 <td>
30 <%= text_field_tag("latest_days", params[:latest_days], :size=>'10') %>
31 <%=h l(:label_indays) %>
32 </td></tr>
33 </table>
34
35 <%= submit_tag l(:label_search) %>
36 <%= submit_tag l(:button_clear), :name => 'search_clear' %>
37
38
39
40 </div>
41 </fieldset>
42 </div>
43
44 <% end %>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26