mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 13:40:13 +01:00
feat: image support
also translated some strings back into english
This commit is contained in:
@@ -14,6 +14,7 @@ function createEvent() {
|
||||
const title = document.getElementById('title').value;
|
||||
const location = document.getElementById('location').value;
|
||||
const description = document.getElementById('description').value;
|
||||
const imageURL = document.getElementById('imageURL').value;
|
||||
const eventDateRaw = document.getElementById('eventDate').value;
|
||||
// Walidacja prostych pól
|
||||
if (!title || !location || !eventDateRaw) {
|
||||
@@ -25,6 +26,7 @@ function createEvent() {
|
||||
title,
|
||||
location,
|
||||
description,
|
||||
imageURL,
|
||||
eventDate,
|
||||
};
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user