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 <!-- <%= @radar_data_point.quadrant %> -->
8 <%= Enum.at(["Tool", "Technique", "Platform", "Language"], @radar_data_point.quadrant) %>
9 </li>
10
11 <li>
12 <strong>Cycle:</strong>
13 <%= Enum.at(["Adapt", "Trial", "Assess", "Hold"], @radar_data_point.cycle) %>
14 </li>
15
16 <li>
17 <strong>Is new:</strong>
18 <%= @radar_data_point.is_new %>
19 </li>
20
21 <li>
22 <strong>Name:</strong>
23 <%= @radar_data_point.name %>
24 </li>
25
26 <li>
27 <strong>Description:</strong>
28 <%= @radar_data_point.description %>
29 </li>
30
31 </ul>
32
33 <%= link "Edit", to: radar_data_point_path(@conn, :edit, @radar_data_point) %>
34 <%= link "Back", to: radar_data_point_path(@conn, :index) %>