Sha256: 75f52f1ad30683c1ba0ef8cb28cec316e575747094519fd461650dd6737b2b00

Contents?: true

Size: 911 Bytes

Versions: 2

Compression:

Stored size: 911 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Banal Complexes</h1>

<table class="table">
  <thead>
    <tr>
      <th>Weight</th>
      <th>Parent</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @banal_complexes.each do |banal_complex| %>
      <tr>
        <td><%= banal_complex.weight %></td>
        <td><%= banal_complex.parent_id %></td>
        <td><%= link_to 'Show', banal_complex %></td>
        <td><%= link_to 'Edit', edit_banal_complex_path(banal_complex) %></td>
        <td><%= link_to 'Destroy', banal_complex, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>


<h3 class="display-4"><%= BanalComplex.root.all.with_descendants.all.map(&:to_s) %></h3>

<br>
<br>

<div class="jumbotron">
  <%= line_chart BanalComplex.all.map(&:weight) %>
</div>

<br>
<br>

<%= link_to 'New Banal Complex', new_banal_complex_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ezii-os-5.2.1 app/views/banal_complexes/index.html.erb
ezii-os-2.0.1 app/views/banal_complexes/index.html.erb