Sha256: 115e7cc30677584dcd54a88bb007671b57e86d8787e3292d327d254cd2cf82ed
Contents?: true
Size: 1.03 KB
Versions: 4
Compression:
Stored size: 1.03 KB
Contents
<% content_for :breadcrumb do %> <ol class="breadcrumb"> <li><%= link_to _('Simulators'), simulators_path %></li> <li class="active"><%= @simulator.name %> <%= link_to [:edit, @simulator], class: 'btn btn-default btn-xs', title: _('Edit') do %> <span class="glyphicon glyphicon-pencil"></span> <% end %> </li> </ol> <% end %> <% if @simulator.sections.any? %> <h2><%= _('Sections') %></h2> <ul class="list-unstyled index sortable"> <% @simulator.sections.each do |section| %> <li id="<%= dom_id(section) %>"> <span class="glyphicon glyphicon-resize-vertical"></span> <%= link_to section.display_name, [@simulator, section] %> <span class="actions"> <%= link_to [:edit, @simulator, section] do %> <span class="glyphicon glyphicon-pencil"></span> <%= _('Edit') %> <% end %> </span> </li> <% end %> </ul> <% end %> <p> <%= link_to(new_simulator_section_path(@simulator), class: 'btn btn-primary') do %> <span class="glyphicon glyphicon-plus"></span> <%= _('Add a section') %> <% end %> </p>
Version data entries
4 entries across 4 versions & 1 rubygems