Initial commit: there's still tons of base Phoenix boilerplate to remove, but the...
[tech-radar-editor.git] / web / templates / radar_data_point / show.html.eex
1 <h2>Show radar data point</h2>
2
3 <ul>
4
5 <li>
6 <strong>Quadrant:</strong>
7 <%= Enum.at(TechRadarEditor.RadarDataPoint.quadrants, @radar_data_point.quadrant-1) %>
8 </li>
9
10 <li>
11 <strong>Cycle:</strong>
12 <%= Enum.at(TechRadarEditor.RadarDataPoint.cycles, @radar_data_point.cycle-1) %>
13 </li>
14
15 <li>
16 <strong>Is new:</strong>
17 <%= @radar_data_point.is_new %>
18 </li>
19
20 <li>
21 <strong>Name:</strong>
22 <%= @radar_data_point.name %>
23 </li>
24
25 <li>
26 <strong>Description:</strong>
27 <%= @radar_data_point.description %>
28 </li>
29
30 </ul>
31
32 <%= link "Edit", to: radar_data_point_path(@conn, :edit, @radar_data_point) %>
33 <%= link "Back", to: radar_data_point_path(@conn, :index) %>