Sha256: 8d2b5511a7065ee95a6f0615ef91a4cfb36488340709d57bcdf6713072fb35f1
Contents?: true
Size: 731 Bytes
Versions: 1
Compression:
Stored size: 731 Bytes
Contents
<div class="btn-group margin-top-10 margin-bottom-10" style="width:100%;"> <button type="button" class="btn btn-default btn-block dropdown-toggle" data-toggle="dropdown"> Choose a <%= model_class.titleize %> <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu"> <%% @<%= instances_name %>.each do |<%= instance_name %>| %> <li><%%= link_to <%= instance_name %>.name, <%= resource_link('show', 'path') %>(<%= instance_name %>), :remote=>true %></li> <%% end %> <%%= content_tag :li, link_to_next_page(@<%= instances_name %>, 'Next Page', :remote => true) %> <%%= content_tag :li, link_to_previous_page(@<%= instances_name %>, 'Previous Page', :remote => true) %> </ul> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
humdrum-rails-0.1.1 | lib/rails/generators/humdrum/resource/templates/views/bootstrap3/resource/_drop_down.html.erb |