Restrict affiliation to 32 chars max
to make it fit on the badge
Change-Id: If0d47a491541f7cc364e329e82e9d13c2802cc75
diff --git a/templates/register.htm b/templates/register.htm
index 6668d73..9af0e3c 100644
--- a/templates/register.htm
+++ b/templates/register.htm
@@ -61,7 +61,7 @@
<div class="form-outline md-6">
<label class="form-label fw-bold" for="organization">Affiliation</label>
- <input required name="organization" type="text" id="organization" class="form-control fs-4 <?php if(isset($error) && $error && !isset($_POST['organization'])){echo 'border-danger';}?>" placeholder="Example University" pattern=".{3,64}" type="text" value="<?php echo isset($_POST['organization']) ? htmlspecialchars($_POST['organization']) : '' ?>"
+ <input required name="organization" type="text" id="organization" class="form-control fs-4 <?php if(isset($error) && $error && !isset($_POST['organization'])){echo 'border-danger';}?>" placeholder="Example University" pattern=".{3,32}" type="text" value="<?php echo isset($_POST['organization']) ? htmlspecialchars($_POST['organization']) : '' ?>"
/>
<div class="invalid-feedback">
Please indicate the institution or organization you are affiliated with.