Skip to content

Commit

Permalink
Merge pull request #160 from CollegiumAcademicum/test
Browse files Browse the repository at this point in the history
Aula mieten - add times to form
  • Loading branch information
han16nah authored Oct 13, 2024
2 parents 13c0d48 + 04548d0 commit f32bfe5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 15 additions & 1 deletion content/pages/events/mieten/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,21 @@ Schreibt uns an <a href="mailto:aula@collegiumacademicum.de">aula@collegiumacade
<div class="field">
<label class="label" for="age">Veranstaltungsdatum *</label>
<div class="control">
<input class="label" type="date" id="date" name="date" value="2024-10-01" min="2024-06-01" max="2026-12-31" required/>
<input class="label" type="date" id="date" name="date" value="2024-10-01" min="2024-10-13" max="2026-12-31" required/>
</div>
</div>

<div class="field">
<label class="label" for="age">Beginn (inkl. Aufbau) *</label>
<div class="control">
<input class="label" type="time" id="time_start" name="time_start" value="15:00" min="00:00" max="23:59" required/>
</div>
</div>

<div class="field">
<label class="label" for="age">Ende (inkl. Abbau) *</label>
<div class="control">
<input class="label" type="time" id="time_end" name="time_end" value="19:00" min="00:00" max="23:59" required/>
</div>
</div>

Expand Down
4 changes: 3 additions & 1 deletion content/pages/events/mieten/send.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

// NOTE:The field mail is a fake field for spam protection
$fields = ['full_name', 'email', 'phone', 'event', 'date',
$fields = ['full_name', 'email', 'phone', 'event', 'date', 'time_start', 'time_end',
'number_guests', 'freetext', 'mail', 'spam_protection'];

$i18n = [
Expand All @@ -29,6 +29,8 @@
"phone" => "Telefonnummer",
"event" => "Veranstaltung",
"date" => "Datum der Veranstaltung",
"time_start" => "Uhrzeit Beginn",
"time_end" => "Uhrzeit Ende",
"number_guests" => "Ungefähre Personenanzahl",
"request-sent" => "raumanfrage-verschickt",
"freetext" => "Freies Kontaktfeld",
Expand Down

0 comments on commit f32bfe5

Please sign in to comment.