Initial commit: there's still tons of base Phoenix boilerplate to remove, but the...
[tech-radar-editor.git] / web / templates / radar_data_point / index.html.eex~
1 <h2>Listing radar data point</h2>
2
3 <table class="table">
4 <thead>
5 <tr>
6 <th>Quadrant</th>
7 <th>Cycle</th>
8 <th>Is new</th>
9 <th>Name</th>
10 <th>Description</th>
11
12 <th></th>
13 </tr>
14 </thead>
15 <tbody>
16 <%= for radar_data_point <- @radar_data_point do %>
17 <tr>
18 <td><%= radar_data_point.quadrant %></td>
19 <td><%= radar_data_point.cycle %></td>
20 <td><%= radar_data_point.is_new %></td>
21 <td><%= radar_data_point.name %></td>
22 <td><%= radar_data_point.description %></td>
23
24 <td class="text-right">
25 <%= link "Show", to: radar_data_point_path(@conn, :show, radar_data_point), class: "btn btn-default btn-xs" %>
26 <%= link "Edit", to: radar_data_point_path(@conn, :edit, radar_data_point), class: "btn btn-default btn-xs" %>
27 <%= link "Delete", to: radar_data_point_path(@conn, :delete, radar_data_point), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %>
28 </td>
29 </tr>
30 <% end %>
31 </tbody>
32 </table>
33
34 <%= link "New radar data point", to: radar_data_point_path(@conn, :new) %>