diff --git a/app/Http/Controllers/PreApplicationController.php b/app/Http/Controllers/PreApplicationController.php
index 60ca84b..aee23f4 100644
--- a/app/Http/Controllers/PreApplicationController.php
+++ b/app/Http/Controllers/PreApplicationController.php
@@ -96,6 +96,7 @@ class PreApplicationController extends Controller
$pa->first_name = $request->input('first_name');
$pa->last_name = $request->input('last_name');
$pa->location = $request->input('location');
+ $pa->notes = $request->input('notes');
$pa->passport_type = $request->input('passport_type');
$pa->event_id = $request->input('district_region');
$pa->email = $request->input('mail');
@@ -143,6 +144,7 @@ class PreApplicationController extends Controller
$pa->first_name = $request->input('first_name');
$pa->last_name = $request->input('last_name');
$pa->location = $request->input('location');
+ $pa->notes = $request->input('notes');
$pa->email = $request->input('mail');
$pa->passport_type = $request->input('passport_type');
$pa->save();
diff --git a/database/migrations/2026_03_30_010252_add_notes_to_pre_applications_table.php b/database/migrations/2026_03_30_010252_add_notes_to_pre_applications_table.php
new file mode 100644
index 0000000..db42bfb
--- /dev/null
+++ b/database/migrations/2026_03_30_010252_add_notes_to_pre_applications_table.php
@@ -0,0 +1,28 @@
+text('notes')->nullable()->before('created_at');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void
+ {
+ Schema::table('pre_applications', function (Blueprint $table) {
+ $table->dropColumn('notes');
+ });
+ }
+};
diff --git a/lang/de/app.php b/lang/de/app.php
index 2dcdedc..33b9ee1 100644
--- a/lang/de/app.php
+++ b/lang/de/app.php
@@ -95,6 +95,7 @@ return [
'firstname' => 'Vorname (Nick)',
'lastname' => 'Nachname (optional)',
'location' => 'Hackspace / Ort (optional)',
+ 'notes' => 'Notizen',
'reference_number' => 'Bearbeitungsnummer',
'created_at' => 'Eingereicht am',
'actions' => 'Aktionen',
diff --git a/lang/en/app.php b/lang/en/app.php
index 020d574..e943c4b 100644
--- a/lang/en/app.php
+++ b/lang/en/app.php
@@ -95,6 +95,7 @@ return [
'firstname' => 'First name (Nickname)',
'lastname' => 'Last name (optional)',
'location' => 'Hackspace / Location (optional)',
+ 'notes' => 'Notes',
'reference_number' => 'Reference number',
'created_at' => 'Submitted at',
'actions' => 'Actions',
diff --git a/public/css/application/edit.css b/public/css/application/edit.css
new file mode 100644
index 0000000..af8cf59
--- /dev/null
+++ b/public/css/application/edit.css
@@ -0,0 +1,9 @@
+.notes-input {
+ width: 100%;
+ min-width: 150px;
+ height: 4em;
+}
+.first-name-input, .last-name-input, .location-input {
+ width: 100%;
+ min-width: 80px;
+}
diff --git a/public/css/style.css b/public/css/style.css
index d94a16f..4e532da 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -184,19 +184,45 @@ select {
.eingabemaske {
border: 5px inset;
- font-size: 1.2em;
padding: 0.5em;
overflow-x: auto;
+ width: 100%;
+}
+
+@media (min-width: 1025px) {
+ .eingabemaske {
+ font-size: 1.2em;
+ }
+}
+
+@media (max-width: 1024px) {
+ .eingabemaske {
+ font-size: 0.9em;
+ }
+
+ .eingabemaske input, .eingabemaske select, .eingabemaske textarea, .eingabemaske button {
+ font-size: 0.9em;
+ padding: 0.2em;
+ }
+}
+
+.eingabemaske table {
+ width: 100%;
+ border-collapse: collapse;
}
.eingabemaske table, th, td {
border: 4px outset;
}
+.eingabemaske th, .eingabemaske td {
+ padding: 0.3em;
+}
+
.eingabemaske input {
font-size: 1em;
padding: 0.5em;
- max-width: 100%;
+ width: 100%;
}
.eingabemaske button {
diff --git a/public/js/preapplication/edit.js b/public/js/preapplication/edit.js
index 73bc956..4f239a7 100644
--- a/public/js/preapplication/edit.js
+++ b/public/js/preapplication/edit.js
@@ -43,6 +43,7 @@ function addApplication(){
data.first_name = $('#first_name_new').val();
data.last_name = $('#last_name_new').val();
data.location = $('#location_new').val();
+ data.notes = $('#notes_new').val();
console.log(data);
@@ -57,6 +58,7 @@ function addApplication(){
$('#first_name_new').val("");
$('#last_name_new').val("");
$('#location_new').val("");
+ $('#notes_new').val("");
location.reload();
} else {
alert(r.errorMessage);
@@ -102,6 +104,7 @@ function editApplication(applicationId){
data.first_name = $('#first_name_'+applicationId).val();
data.last_name = $('#last_name_'+applicationId).val();
data.location = $('#location_'+applicationId).val();
+ data.notes = $('#notes_'+applicationId).val();
data.mail = $('#mail_'+applicationId).val();
data.passport_type = $('#passport_type_'+applicationId).val();
diff --git a/resources/views/application/edit.blade.php b/resources/views/application/edit.blade.php
index 32f67fe..37b6e8f 100644
--- a/resources/views/application/edit.blade.php
+++ b/resources/views/application/edit.blade.php
@@ -5,6 +5,7 @@
@extends('layout.app')
@section('scripts')
+