mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-13 08:15:55 +08:00
init project
This commit is contained in:
16
app/views/admins/schools/index.html.erb
Normal file
16
app/views/admins/schools/index.html.erb
Normal file
@@ -0,0 +1,16 @@
|
||||
<% define_admin_breadcrumbs do %>
|
||||
<% add_admin_breadcrumb('单位列表') %>
|
||||
<% end %>
|
||||
|
||||
<div class="box search-form-container school-list-form">
|
||||
<%= form_tag(admins_schools_path, method: :get, class: 'form-inline search-form flex-1', remote: true) do %>
|
||||
<%= text_field_tag(:keyword, params[:keyword], class: 'form-control col-sm-2 ml-3', placeholder: '单位名称检索') %>
|
||||
<%= submit_tag('搜索', class: 'btn btn-primary ml-3', 'data-disable-with': '搜索中...') %>
|
||||
<% end %>
|
||||
|
||||
<%#= javascript_void_link '新建单位', class: 'btn btn-primary', data: { toggle: 'modal', target: '.admin-create-school-modal' } %>
|
||||
</div>
|
||||
|
||||
<div class="box admin-list-container school-list-container">
|
||||
<%= render partial: 'admins/schools/shared/list', locals: { schools: @schools } %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user