Sha256: 4cf9a8c40ac2df785909c39ef571ff1805882a51eff6505698434b3593319a8b
Contents?: true
Size: 506 Bytes
Versions: 1
Compression:
Stored size: 506 Bytes
Contents
<% # headmin/dropdown/list # # ==== Options # * +id</tt> - unique identifier for the dropdown # * +class</tt> - Custom class names to put on the dropdown menu # # ==== Examples # Basic version # <%= render 'headmin/dropdown/list', id: 'dropdown-1' %#> class_names = local_assigns.has_key?(:class) ? local_assigns[:class] : '' id = local_assigns.has_key?(:id) ? id : 'dropdown-1' %> <ul class="dropdown-menu <%= class_names %>" aria-labelledby="<%= id %>"> <%= yield %> </ul>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
headmin-0.5.2 | app/views/headmin/dropdown/_list.html.erb |