diff options
author | Matthew Lemon <y@yulqen.org> | 2023-12-18 19:38:44 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-12-18 19:38:44 +0000 |
commit | 8185939b2629581dd9264dbbc37f859e19436f31 (patch) | |
tree | fdbc4f11f8d6c911ac7ebc4563254ae5299db603 /app/views/organisations/index.html.erb | |
parent | 1fe9bf5c59ba9d4df5d2c917896348a0e23613a0 (diff) |
wip: stuck on notnull error...
Diffstat (limited to 'app/views/organisations/index.html.erb')
-rw-r--r-- | app/views/organisations/index.html.erb | 14 |
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 %> |