Sha256: 8459e2dbb746bb0b07130ab3d947314b38ee986d851bd61e642d3701f481dd88
Contents?: true
Size: 667 Bytes
Versions: 120
Compression:
Stored size: 667 Bytes
Contents
<% showcase.sample "Basic" do %> <ul> <%= render "shared/breadcrumb", url: root_url, label: "Breadcrumb Link" %> <%= render "shared/breadcrumb", label: "Unlinked label" %> </ul> <% end %> <% showcase.sample "With model url_for" do %> <%= render 'account/shared/breadcrumb', label: t('memberships.label'), url: [:account, current_team, :memberships] %> <% end %> <% showcase.options do |o| %> <% o.required :label, "The breadcrumb text, either shown in the link or the plain label" %> <% o.optional :url, "A URL string, e.g. root_url, or something that's passed to url_for.", type: [String, "Valid url_for argument", "nil"].join("\n") %> <% end %>
Version data entries
120 entries across 120 versions & 1 rubygems