seminar2/app/views/admin/seminars/enquiry_for_applicants.html...

33 lines
1.5 KiB
Plaintext

<% content_for :page_specific_css do %>
<%= stylesheet_link_tag "lib/main-forms" %>
<%= stylesheet_link_tag "lib/fileupload" %>
<%= stylesheet_link_tag "lib/main-list" %>
<% end %>
<% content_for :page_specific_javascript do %>
<%= javascript_include_tag "lib/bootstrap-fileupload" %>
<%= javascript_include_tag "lib/bootstrap-datetimepicker" %>
<%= javascript_include_tag "lib/datetimepicker/datetimepicker.js" %>
<%= javascript_include_tag "lib/file-type" %>
<%= javascript_include_tag "lib/module-area" %>
<% end %>
<fieldset>
<legend>查詢報名人</legend>
<form method="get" id="searchform" class="form-horizontal">
<div class="control-group">
<label for="name" class="control-label">報名人姓名</label>
<div class="controls">
<input name="name" type="text" id="name" value="<%=params[:name]%>" size="30">
<input type="submit" id="searchsubmit" value="<%=t(:search_)%>">
</div>
</div>
</form>
</fieldset>
<%= render :partial => "seminar_signup_render_table" %>
<% if @can_edit %>
<div class="bottomnav clearfix">
<div class="pagination pagination-centered"><%= (paginate(@seminar_signups) rescue nil) %></div>
<div class="action pull-right">
<%= link_to content_tag(:i, nil, :class => 'icon-cog icon-white') + t("seminar.field_display_setting"), seminar_signup_admin_setting_admin_seminar_path("enquiry_for_applicants"), :class => 'btn btn-primary' %>
</div>
</div>
<% end %>