Sha256: 032b7e570e82f88b1e89f659e9b3b13c48a996f9732bcedd5807d45aa2cb1bf1

Contents?: true

Size: 940 Bytes

Versions: 4

Compression:

Stored size: 940 Bytes

Contents

<% content_for :breadcrumb do %>
<ol class="breadcrumb">
  <li><%= link_to _('Organizations'), organizations_path %></li>
  <li class="active"><%= @organization.name %>
    <%= link_to [:edit, @organization], class: 'btn btn-default btn-xs', title: _('Edit') do %>
      <span class="glyphicon glyphicon-pencil"></span>
    <% end %>
  </li>
</ol>
<% end %>

<% if @organization.simulators.any? %>
<h2><%= _('Simulators') %></h2>

<ul class="list-unstyled index">
<% @organization.simulators.each do |simulator| %>
  <li>
    <%= link_to simulator.name, simulator %>
    <span class="actions">
      <%= link_to [:edit, simulator] do %>
        <span class="glyphicon glyphicon-pencil"></span> <%= _('Edit') %>
      <% end %>
    </span>
  </li>
<% end %>
</ul>
<% end %>

<p>
  <%= link_to(new_simulator_path, class: 'btn btn-primary') do %>
    <span class="glyphicon glyphicon-plus"></span> <%= _('Add a simulator') %>
  <% end %>
</p>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.4 app/views/citizen_budget_model/organizations/show.html.erb
citizen_budget_model-0.0.3 app/views/citizen_budget_model/organizations/show.html.erb
citizen_budget_model-0.0.2 app/views/citizen_budget_model/organizations/show.html.erb
citizen_budget_model-0.0.1 app/views/citizen_budget_model/organizations/show.html.erb