aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/events/_form.html.erb
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-12-17 21:02:25 +0000
committerMatthew Lemon <y@yulqen.org>2023-12-17 21:02:25 +0000
commit5ddfd3d2e6c13873cfaacdfd53c3e853d605f951 (patch)
tree665c2d0cb91833f3e33b1a42734aebcdb459d5c7 /app/views/events/_form.html.erb
parenta6929cddd59e6f2a1df5b722194d84e8fb68b9d4 (diff)
Tinkering
Diffstat (limited to '')
-rw-r--r--app/views/events/_form.html.erb23
1 files changed, 21 insertions, 2 deletions
diff --git a/app/views/events/_form.html.erb b/app/views/events/_form.html.erb
index 4c718ae..e4ee1a0 100644
--- a/app/views/events/_form.html.erb
+++ b/app/views/events/_form.html.erb
@@ -1,3 +1,21 @@
+<hr>
+<h3>Create a new event</h3>
+
+<ul class="nav nav-tabs">
+ <li class="nav-item">
+ <a class="nav-link active" aria-current="page" href="#">Assessment/Inspection</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">SyRIF</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Exercise</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
+ </li>
+</ul>
+
<%= form_with(model: event) do |form| %>
<% if event.errors.any? %>
<div style="color: red">
@@ -17,11 +35,12 @@
</div>
<div>
- <%= form.label :name, style: "display: block" %>
+ <%= form.label "Event name", style: "display: block" %>
<%= form.text_field :name %>
</div>
<div>
- <%= form.submit style: "background: green; color: white; margin-top: 2px;"%>
+ <%= form.submit style: "background: green; color: white; margin-top: 1.1em;"%>
</div>
<% end %>
+<hr>