socialforge/app/views/admin/_update_school_form.html.erb

27 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-07-28 20:01:22 +08:00
<%= form_tag admin_edit_applied_schools_path(:applied_id =>edit_id), :id => 'schools_list_form' %>
<div>
<%#= hidden_field_tag(:send_id, edit_id) %>
<div class="courseReferContainer">
2016-08-05 16:14:26 +08:00
<% if !schools.empty? && !@search.nil? %>
2016-07-28 20:01:22 +08:00
<% schools.each do |school| %>
<ul class="courseSend">
<li class="" style="display:inline-block">
<input name="school_id[]" type="radio" value="<%= school.id %>" class="courseSendCheckbox"/>
</li>
<li class="sendCourseName"><%= truncate(school.name, :lendght => 25)%></li>
</ul>
<% end %>
<% end %>
</div>
</div>
<div class="cl"></div>
<span id="choose_courses_notice" class="c_red"></span>
<div>
<div class="courseSendSubmit">
<a href="javascript:void(0);" onfocus='this.blur();' onclick="school_submit();" class="sendSourceText">确定</a>
</div>
<div class="courseSendCancel">
<a href="javascript:void(0);" class="sendSourceText" onclick="hideModal();">取消</a>
</div>
</div>
<div class="cl"></div>