summaryrefslogtreecommitdiff
path: root/views/partials/importeventform.handlebars
diff options
context:
space:
mode:
authorRaphael Kabo <mail@raphaelkabo.com>2019-09-30 13:57:28 +0100
committerRaphael Kabo <mail@raphaelkabo.com>2019-09-30 13:57:28 +0100
commit40ade71e0019bbb59710a2e2e5d74197c47cb1b0 (patch)
treee3d6cacdaa694ede107389054261a78841652514 /views/partials/importeventform.handlebars
parenteddfe0389047ac1df5a8194d36c3bde1fcc05866 (diff)
Fixes to iCal parser
Diffstat (limited to 'views/partials/importeventform.handlebars')
-rw-r--r--views/partials/importeventform.handlebars11
1 files changed, 10 insertions, 1 deletions
diff --git a/views/partials/importeventform.handlebars b/views/partials/importeventform.handlebars
index 7bf5b17..9ad038a 100644
--- a/views/partials/importeventform.handlebars
+++ b/views/partials/importeventform.handlebars
@@ -6,11 +6,20 @@
<img class="img-thumbnail mb-3 d-block mx-auto" src="/images/facebook-export.png" alt="Image showing the location of the export option on Facebook" />
<form id="icsImportForm" action="/importevent" method="post" enctype="multipart/form-data">
- <div class="custom-file" id="icsImportContainer">
+ <div class="form-group">
+ <div class="custom-file" id="icsImportContainer">
<input required name="icsImportControl" type="file" class="custom-file-input" id="icsImportControl" aria-describedby="fileHelp" accept="text/calendar">
<label name="icsImportLabel" class="custom-file-label" id="icsImportLabel" for="icsImportControl">
<i class="far fa-file-alt"></i> Select file
</label>
</div>
+ </div>
+ <div class="form-group">
+ <label for="creatorEmail" class="form-label">Your email</label>
+ <div class="form-group">
+ <input type="email" class="form-control" id="creatorEmail" name="creatorEmail" placeholder="We won't spam you <3" data-validation="email" data-validation-optional="true">
+ <small class="form-text">We will send your secret editing link to this email address.</small>
+ </div>
+ </div>
<button type="submit" class="d-block mt-3 mx-auto btn btn-primary w-50">Import</button>
</form>