<% define_admin_breadcrumbs do %>
  <% add_admin_breadcrumb('站点主题配置') %>
<% end %>

<div class="box search-form-container project-list-form">
  <%= form_tag(admins_page_themes_path, method: :get, class: 'form-inline search-form flex-1', remote: true) do %>
    <div class="form-group mr-2">
      <label for="language_frame">建站工具：</label>
      <% state_options = [['全部',nil], ['hugo', 0], ['jeklly', 1],['hexo',2],['files',3]] %>
      <%= select_tag(:language_frame, options_for_select(state_options), class: 'form-control') %>
    </div>
    <%= submit_tag('搜索', class: 'btn btn-primary ml-3', 'data-disable-with': '搜索中...') %>
  <% end %>
 <%= link_to "新增", new_admins_page_theme_path, remote: true, class: "btn btn-primary pull-right", "data-disabled-with":"...新增" %> 
</div>

<div class="box admin-list-container page-themes-list-container">
  <%= render partial: 'admins/page_themes/list', locals: { page_themes: @page_themes } %>
</div>
<div id="page-themes-modals">
</div>
