aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/organisations/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/organisations/index.html.erb')
-rw-r--r--app/views/organisations/index.html.erb14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/organisations/index.html.erb b/app/views/organisations/index.html.erb
new file mode 100644
index 0000000..45d5b16
--- /dev/null
+++ b/app/views/organisations/index.html.erb
@@ -0,0 +1,14 @@
+<p style="color: green"><%= notice %></p>
+
+<h1>Organisations</h1>
+
+<div id="organisations">
+ <% @organisations.each do |organisation| %>
+ <%= render organisation %>
+ <p>
+ <%= link_to "Show this organisation", organisation %>
+ </p>
+ <% end %>
+</div>
+
+<%= link_to "New organisation", new_organisation_path %>