mirror of
https://github.com/Blair-SGA-Dev-Team/blazerapp.git
synced 2024-12-22 06:22:44 -05:00
fixing sslops: todo -> check all form actions and add required to inputs and selects
This commit is contained in:
parent
34f6819f1d
commit
f20773c49a
|
@ -29,7 +29,7 @@
|
|||
<p class="mb-2">{{location}}</p>
|
||||
<p class="mb-2">{{date}}</p>
|
||||
<p class="mt-2 mb-0">Sponsor: {{teacher}}</p>
|
||||
<form action="clubs/del" method="post">
|
||||
<form action="ssl_ops/del" method="post">
|
||||
<div class="d-flex mt-3">
|
||||
<input type="number" class="form-control form-control-sm" id="id" name="id" value = {{id}} style="display: none">
|
||||
</div>
|
||||
|
@ -51,7 +51,7 @@
|
|||
<form action="ssl_ops/add" method="post">
|
||||
<div class="d-flex mt-3">
|
||||
<div style="flex: 1; justify-content: center;">
|
||||
<select name="lang", id="lang">
|
||||
<select name="lang", id="lang" required>
|
||||
<option value="" disabled selected>Select Language</option>
|
||||
<option value="en">English</option>
|
||||
<option value="es">Spanish</option>
|
||||
|
@ -64,7 +64,7 @@
|
|||
<p class="my-0">Title</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="text" class="form-control form-control-sm" id="title" name="title">
|
||||
<input type="text" class="form-control form-control-sm" id="title" name="title" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -73,7 +73,7 @@
|
|||
<p class="my-0">Information</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="text" class="form-control form-control-sm" id="text" name="text">
|
||||
<input type="text" class="form-control form-control-sm" id="text" name="text" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -82,7 +82,7 @@
|
|||
<p class="my-0">Location</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="text" class="form-control form-control-sm" id="location" name="location">
|
||||
<input type="text" class="form-control form-control-sm" id="location" name="location" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -91,7 +91,7 @@
|
|||
<p class="my-0">Organizer</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="text" class="form-control form-control-sm" id="teacher" name="teacher">
|
||||
<input type="text" class="form-control form-control-sm" id="teacher" name="teacher" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -100,7 +100,7 @@
|
|||
<p class="my-0">Date of Event</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="text" class="form-control form-control-sm" id="date" name="date">
|
||||
<input type="text" class="form-control form-control-sm" id="date" name="date" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -116,13 +116,13 @@
|
|||
<p class="my-0">ID of club to update</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="number" class="form-control form-control-sm" id="id" name="id">
|
||||
<input type="number" class="form-control form-control-sm" id="id" name="id" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex mt-3">
|
||||
<div style="flex: 1; justify-content: center;">
|
||||
<select name="lang", id="lang">
|
||||
<select name="lang", id="lang" required>
|
||||
<option value="" disabled selected>Select Language</option>
|
||||
<option value="en">English</option>
|
||||
<option value="es">Spanish</option>
|
||||
|
@ -135,7 +135,7 @@
|
|||
<p class="my-0">Title</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="text" class="form-control form-control-sm" id="title" name="title">
|
||||
<input type="text" class="form-control form-control-sm" id="title" name="title" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -144,7 +144,7 @@
|
|||
<p class="my-0">Information</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="text" class="form-control form-control-sm" id="text" name="text">
|
||||
<input type="text" class="form-control form-control-sm" id="text" name="text" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -153,7 +153,7 @@
|
|||
<p class="my-0">Location</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="text" class="form-control form-control-sm" id="location" name="location">
|
||||
<input type="text" class="form-control form-control-sm" id="location" name="location" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -162,7 +162,7 @@
|
|||
<p class="my-0">Organizer</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="text" class="form-control form-control-sm" id="teacher" name="teacher">
|
||||
<input type="text" class="form-control form-control-sm" id="teacher" name="teacher" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -171,7 +171,7 @@
|
|||
<p class="my-0">Date of Event</p>
|
||||
</div>
|
||||
<div style="flex: 1; align: center;">
|
||||
<input type="text" class="form-control form-control-sm" id="date" name="date">
|
||||
<input type="text" class="form-control form-control-sm" id="date" name="date" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user