diff options
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/admin/conventions.html.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/admin/conventions.html.erb b/app/views/admin/conventions.html.erb new file mode 100644 index 0000000..72f6214 --- /dev/null +++ b/app/views/admin/conventions.html.erb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <h1>Node creation conventions</h1> | ||
| 2 | |||
| 3 | <table id="conventions"> | ||
| 4 | <tr><th>Kind</th><th>What happens</th></tr> | ||
| 5 | <% @node_kinds.each do |kind, config| %> | ||
| 6 | <tr> | ||
| 7 | <td><%= kind %></td> | ||
| 8 | <td><%= resolve_kind_text(config[:label]) %> — <%= resolve_kind_text(config[:hint]) %></td> | ||
| 9 | </tr> | ||
| 10 | <% end %> | ||
| 11 | </table> | ||
