Skip to content

Commit

Permalink
Update company & educational institute wording & conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed Oct 28, 2024
1 parent 502ff12 commit 9896e7d
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions src/components/forms/registration-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,21 @@ export default function RegistrationForm() {
</div>
</div>

{(occupation === "APPRENTICE" || occupation === "EMPLOYEE") && (
{(occupation === "APPRENTICE" ||
occupation === "STUDENT" ||
occupation === "EMPLOYEE" ||
occupation == "OTHER") && (
<div className="pt-8">
<div>
<h3 className="text-lg font-medium leading-6 text-gray-900">
Deine Firma
</h3>
<p className="mt-1 text-sm text-gray-500">
Falls du in einer Firma arbeitest, kannst du diese hier angeben.
{occupation === "APPRENTICE"
? "Bitte gib hier die Firma an, von der du ausgebildet wirst."
: occupation === "EMPLOYEE"
? "Bitte gib hier die Firma an, bei der du arbeitest."
: "Falls du in einer Firma arbeitest, kannst du diese hier angeben."}
</p>
</div>
<div className="mt-6 grid grid-cols-1 gap-x-4 gap-y-6 sm:grid-cols-6">
Expand Down Expand Up @@ -300,15 +307,21 @@ export default function RegistrationForm() {

{(occupation === "APPRENTICE" ||
occupation === "PUPIL" ||
occupation === "STUDENT") && (
occupation === "STUDENT" ||
occupation === "OTHER") && (
<div className="pt-8">
<div>
<h3 className="text-lg font-medium leading-6 text-gray-900">
Deine (Hoch-)Schule
{occupation === "PUPIL"
? "Deine Schule"
: "Deine Universität/Hochschule"}
</h3>
<p className="mt-1 text-sm text-gray-500">
Falls du an einer (Hoch-)Schule bist, kannst du diese hier
angeben.
{occupation === "PUPIL"
? "Bitte gib hier deine Schule an."
: occupation == "STUDENT"
? "Bitte gib hier deine Universität oder Hochschule an."
: "Falls du an einer Universität oder Hochschule bist, kannst du diese hier angeben."}
</p>
</div>
<div className="mt-6 grid grid-cols-1 gap-x-4 gap-y-6 sm:grid-cols-6">
Expand Down

0 comments on commit 9896e7d

Please sign in to comment.