Sha256: 867e4e8a645dac6f6ff3523d13609a66d41c235d82a7eddf879b3ceb94cdb7d8
Contents?: true
Size: 789 Bytes
Versions: 2
Compression:
Stored size: 789 Bytes
Contents
<% content_for(:title) do %> <%= display_resource_name(page.resource_name) %> <% end %> <header class="main-content__header"> <h1 class="main-content__page-title" id="page-title"> <%= content_for(:title) %> </h1> <%= content_for(:header_middle) %> <% if show_search_bar %> <%= render( "search", search_term: search_term, resource_name: display_resource_name(page.resource_name) ) %> <% end %> <div> <%= link_to( t( "administrate.actions.new_resource", name: display_resource_name(page.resource_name, singular: true).downcase ), [:new, namespace, page.resource_path.to_sym], class: "button", ) if accessible_action?(new_resource, :new) %> </div> <%= content_for(:header_last) %> </header>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
administrate-1.0.0.beta3 | app/views/administrate/application/_index_header.html.erb |
administrate-1.0.0.beta2 | app/views/administrate/application/_index_header.html.erb |