socialforge/app/views/stores/_search_bar.html.erb

9 lines
637 B
Plaintext
Raw Normal View History

<div style="width: 67%;margin: 10px auto;">
2014-01-17 15:05:50 +08:00
<%= form_tag( search_stores_path, method: 'post') do %>
<%= text_field_tag 'name', params[:name], placeholder: l('welcome.search.information'), name: "name", :class => 'blueinputbar', :style => 'width:450px;'%>
2014-01-21 16:41:23 +08:00
&nbsp;&nbsp;
<%= submit_tag l(:label_search), :class => "enterprise "%>
2014-01-17 15:05:50 +08:00
<% end %>
<%= link_to("导出缺失列表",lost_file_stores_path(:format => 'xls'),:style => "background-color: #15bccf;padding: 4px 5px;color: white;") if User.current.admin?%>
<div class='font_lighter' style="display: inline-block; margin-top:3px;"><%= l(:label_resources_search_all)%></div>
2014-01-17 15:05:50 +08:00
</div>