23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
<div class="sy_class_r fr ml10">
|
|
<h3 class="game-setting-h3 clear">
|
|
<span class="ml15"></span>
|
|
<%= @role == '1' ? '管理员' : @role == '2' ? '评委' : '参赛者' %>列表
|
|
<% if User.current.admin_of_contest?(@contest) %>
|
|
<%=link_to "成员管理", {:controller => 'contests', :action => 'settings', :id => @contest.id, :tab=>'member'}, :class => 'fr mr15 sy_cblue'%>
|
|
<% end %>
|
|
</h3>
|
|
<div class="hw_search_box fr mt15 mr15 mb10">
|
|
<%= form_tag(member_contest_path(@contest), method: 'get',:class => "f_l",:remote=>true,:id => "search_member") do %>
|
|
<input class="hw_search-input" name="name" id="search_member_input" placeholder="输入<%= @role == '1' ? '管理员' : @role == '2' ? '评委' : '参赛者' %>登录名/姓名/单位名称进行搜索" type="text">
|
|
<input type="hidden" name="role" value="<%=@role %>"/>
|
|
<% end %>
|
|
<a href="javascript:void(0)" class="hw_btn_search" onclick="$('#search_member').submit();"></a>
|
|
<div class="cl"></div>
|
|
</div>
|
|
|
|
<div class="ml15 mr15 mb15" id="contest_all_member">
|
|
<%=render :partial => 'contest_all_member' %>
|
|
</div>
|
|
|
|
|
|
</div><!--sy_class_r end--> |