30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
|
<div class="homepageRightBanner">
|
||
|
<div class="f16 fontGrey3">
|
||
|
<% if @type == "famous" %>
|
||
|
热门项目
|
||
|
<% else %>
|
||
|
<%= @field.name %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="resources mt10">
|
||
|
<div class="function-row" id="org_student_search">
|
||
|
<%= form_tag(url_for(:controller => 'organizations', :action => 'projects', :type => @type), :remote => true , :method => 'get', :id => 'resource_search_form') do %>
|
||
|
<input type="text" name="search" placeholder="输入项目名进行搜索" class="teacher-list-search fl" />
|
||
|
<%= submit_tag '', :class => 'homepageSearchIcon', :onfocus => 'this.blur();', :class => "teacher-search-icon fl" %>
|
||
|
<!--<a href="javascript:void(0);" onclick='this.parent.submit();return false;' class="searchIcon"></a>-->
|
||
|
<% end %>
|
||
|
<div class="sn-font-grey fr">
|
||
|
<%= link_to "热门项目", projects_organization_path(@organization, :type => "famous", :org_subfield_id => @field.id), :class => "fontGrey2" %>
|
||
|
</div>
|
||
|
<div class="cl"></div>
|
||
|
</div>
|
||
|
<div id="org_container_list">
|
||
|
<%=render 'organizations/org_container', :containers => @containers %>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="wlist" id="pages" style="margin-top: 15px;">
|
||
|
<%= pagination_links_full @atta_pages, @containers_count, :per_page_links => false, :flag => true %>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|