|
|
@ -71,7 +71,7 @@
|
|
|
|
<div class="down-select" id="shixun_small_language_option" style="padding: 2px 0px">
|
|
|
|
<div class="down-select" id="shixun_small_language_option" style="padding: 2px 0px">
|
|
|
|
<% @small_type.try(:each) do |type| %>
|
|
|
|
<% @small_type.try(:each) do |type| %>
|
|
|
|
<p data-shixun-value="<%= type.id %>">
|
|
|
|
<p data-shixun-value="<%= type.id %>">
|
|
|
|
<input type="checkbox" class="magic-checkbox" id="mirror_<%= type.id %>" value="<%= type.type_name %>"/>
|
|
|
|
<input type="checkbox" class="magic-checkbox" id="mirror_<%= type.id %>" value="<%= type.type_name %>" <%= @shixun.child_mirror_ids.include?(type.id) ? "checked" : ""%>/>
|
|
|
|
<label style="top:0px" for="mirror_<%= type.id %>"><%= type.type_name %></label>
|
|
|
|
<label style="top:0px" for="mirror_<%= type.id %>"><%= type.type_name %></label>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|