Sha256: e53a3664e0e47e6f2eecaf455434a2010ab40ad1e95bafed0db3ddacec6cf2e8
Contents?: true
Size: 680 Bytes
Versions: 10
Compression:
Stored size: 680 Bytes
Contents
<%# headmin/heading/title accepts block: no parameters: title: (string) Title to be displayed new_link: (string) URL to be used a anchor for the new button breadcrumbs: (boolean) Whether to render breadcrumbs or not %> <% title = local_assigns.has_key?(:title) ? title : nil %> <% new_link = local_assigns.has_key?(:new_link) ? new_link : nil %> <div class="h-heading-title"> <div class="d-flex align-items-center"> <h1 class="me-2"> <%= title ? title : t('.new') %> </h1> <% if new_link %> <a href="<%= new_link %>" class="btn btn-outline-primary btn-sm"> <%= t('.new') %> </a> <% end %> </div> </div>
Version data entries
10 entries across 10 versions & 1 rubygems