aboutsummaryrefslogtreecommitdiff
path: root/src/views/dropdown/menu.ecr
blob: df17ba2fe5c333d958cb235dd05218f9eba77cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<a
  href='#'
  class='btn btn-default'
  title='<%= h(@text) %>'
  data-toggle='dropdown'
>
  <%= Icon.icon(@icon) %>
  <%= h(@name) %>:
  <span><%= h(@default_name) %></span>
  <i class='fa fa-caret-down'></i>
</a>

<ul
  id='<%= h(@id) %>'
  class='dropdown-menu guff-dropdown <%= h(@css) %>'
  data-default='<%= h(@default) %>'
><%=
  items
%></ul><!-- dropdown-menu -->