diff options
Diffstat (limited to 'app/views/events/_form.html.erb')
-rw-r--r-- | app/views/events/_form.html.erb | 23 |
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> |