Sha256: 0439786440c41937b5f47879cff0bc2f1a6e6d573462bd70a5f1c8774ac98a08

Contents?: true

Size: 321 Bytes

Versions: 25

Compression:

Stored size: 321 Bytes

Contents

- id = Time.now.to_f
- if active
  - css_class = 'active'
- else 
  - css_class = ''
%li{:class => 'dropdown ' + css_class}
  %a.dropdown-toggle{:id => id, :href=>href, :data => {:target => '#', :toggle => 'dropdown'}}
    = text
    %b.caret
  %ul.dropdown-menu{:role => 'menu', :aria => {:labelledby => id}}
    = block

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
bootstrap_leather-0.5.6 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.5.5 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.5.4 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.5.3 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.5.2 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.5.0 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.4.9 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.4.8 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.4.7 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.4.6 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.4.5 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.4.4 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.4.3 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.4.2 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.4.1 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.4.0 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.3.1 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
bootstrap_leather-0.3.0 app/views/bootstrap_leather/_dropdown_nav_item.html.haml
leather-0.2.2 app/views/leather/_dropdown_nav_item.html.haml
leather-0.2.1 app/views/leather/_dropdown_nav_item.html.haml