二级目录新建的时候暂时隐藏资源

This commit is contained in:
huang 2016-05-05 11:01:02 +08:00
parent 71b70cf937
commit 36e6d44ac1
2 changed files with 5 additions and 5 deletions

View File

@ -102,7 +102,7 @@
<%= link_to("添加二级目录", new_org_subfield_sub_domain_path(:org_subfield_id => field.id, :field => field), :class => "linkGrey fr mr5", :remote => true) %> <%= link_to("添加二级目录", new_org_subfield_sub_domain_path(:org_subfield_id => field.id, :field => field), :class => "linkGrey fr mr5", :remote => true) %>
</li> </li>
<div class="cl"></div> <div class="cl"></div>
<%= render :partial => 'organizations/subfield_sub_domains_list', :locals => {:field => field} %> <%#= render :partial => 'organizations/subfield_sub_domains_list', :locals => {:field => field} %>
</ul> </ul>
<% end %> <% end %>
<% end %> <% end %>

View File

@ -9,10 +9,10 @@
<input type="radio" id="orgMng" value="Post" name="field_type" checked="checked"/> <input type="radio" id="orgMng" value="Post" name="field_type" checked="checked"/>
<label for="orgMng">帖子</label> <label for="orgMng">帖子</label>
</li> </li>
<li class="fl mr15"> <!--<li class="fl mr15">-->
<input type="radio" id="orgMeb" value="Resource" name="field_type" /> <!--<input type="radio" id="orgMeb" value="Resource" name="field_type" />-->
<label for="orgMeb">资源</label> <!--<label for="orgMeb">资源</label>-->
</li> <!--</li>-->
<li class="cl"></li> <li class="cl"></li>
</ul> </ul>
<div class="courseSendSubmit mr15"><a href="javascript:void(0);" class="sendSourceText" onclick="add_org_subfield_subdomain();hideModal()">确定</a></div> <div class="courseSendSubmit mr15"><a href="javascript:void(0);" class="sendSourceText" onclick="add_org_subfield_subdomain();hideModal()">确定</a></div>