app/views/administrate/application/index.html.erb in administrate-0.2.2 vs app/views/administrate/application/index.html.erb in administrate-0.3.0

- old
+ new

@@ -24,25 +24,10 @@ <% content_for(:title) do %> <%= display_resource_name(page.resource_name) %> <% end %> <% content_for(:search) do %> - <form class="search"> - <span class="search__icon"> - <%= svg_tag "administrate/search.svg", "search", width: 16, height: 16 %> - </span> - <input - type="text" - name="search" - class="search__input" - placeholder="Search" - value="<%= search_term %>" - aria-label="Search" - /> - <span class="search__hint"> - Press enter to search - </span> - </form> + <%= render "search", search_term: search_term %> <% end %> <header class="header"> <h1 class="header__heading" id="page-title"><%= content_for(:title) %></h1> <div class="header__actions">