Sha256: 1bd20b5ad40f4f47aa25f5a7e98d7cef0d524292914e362bee7d05cec8948e78
Contents?: true
Size: 878 Bytes
Versions: 9
Compression:
Stored size: 878 Bytes
Contents
<% content_for :secondary_nav do %> <ul class="nav nav-list"> <li class="nav-header">Templates</li> <%= render @templates %> <li class="nav-header">Includes</li> <%= render @includes %> <li class="nav-header">Javascripts</li> <%= render @javascripts %> <li class="nav-header">Stylesheets</li> <%= render @stylesheets %> </ul> <div class="btn-group actions pull-right"> <%= link_to "<i class=\"icon-plus\"></i> Add Template <span class=\"caret\"></span>".html_safe, new_template_path, :class => 'dropdown-toggle btn btn-inverse', 'data-toggle' => 'dropdown', 'data-target' => '#', :role => 'button' %> <ul class="dropdown-menu" role="menu"> <% Smithy::Template.types.each do |tt| %> <li><%= link_to tt.capitalize, new_template_path(:template => { :template_type => tt }) %></li> <% end %> </ul> </div> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems