diff options
Diffstat (limited to 'views/partials/importeventform.handlebars')
-rw-r--r-- | views/partials/importeventform.handlebars | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/views/partials/importeventform.handlebars b/views/partials/importeventform.handlebars index 12522dc..f788d16 100644 --- a/views/partials/importeventform.handlebars +++ b/views/partials/importeventform.handlebars @@ -1,6 +1,6 @@ -<h4 class="mb-2">{{t "newevent.importevent" }}</h4> +<h4 class="mb-2">{{t "views.newevent.importevent" }}</h4> <p> - {{t "newevent.p.importdesc" }} + {{t "views.newevent.p.importdesc" }} </p> <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" /> @@ -11,15 +11,15 @@ <div class="custom-file" id="icsImportContainer"> <input required name="icsImportControl" type="file" class="custom-file-input" id="icsImportControl" aria-describedby="fileHelp" accept="text/calendar" x-ref="icsImportControl"/> <label name="icsImportLabel" class="custom-file-label" id="icsImportLabel" for="icsImportControl"> - <i class="far fa-file-alt"></i> {{t "selectfile" }} + <i class="far fa-file-alt"></i> {{t "views.partials.importevent.selectfile" }} </label> </div> </div> <div class="form-group"> - <label for="creatorEmail" class="form-label">{{t "youremail" }}</label> + <label for="creatorEmail" class="form-label">{{t "common.youremail" }}</label> <div class="form-group"> - <input type="email" class="form-control" id="importCreatorEmail" name="creatorEmail" placeholder="{{t "wontshow" }}" x-model.fill="data.creatorEmail" {{#if creatorEmail}}value="{{creatorEmail}}" readonly{{/if}}> - <small class="form-text">{{t "creatoremaildesc" }}</small> + <input type="email" class="form-control" id="importCreatorEmail" name="creatorEmail" placeholder="{{t "views.partials.wontshow" }}" x-model.fill="data.creatorEmail" {{#if creatorEmail}}value="{{creatorEmail}}" readonly{{/if}}> + <small class="form-text">{{t "views.partials.creatoremaildesc" }}</small> </div> </div> <div class="form-group"> @@ -29,7 +29,7 @@ role="alert" x-show="errors.length > 0" > - <p><i class="fas fa-exclamation-triangle"></i> {{t "fixerrors" }}</p> + <p><i class="fas fa-exclamation-triangle"></i> {{t "views.partials.fixerrors" }}</p> <ul> <template x-for="error in errors"> <li x-html="error.message"></li> @@ -43,6 +43,6 @@ class="d-block mx-auto button button--primary w-50" x-bind:disabled="submitting" x-bind:class="submitting ? 'button--loading' : ''" - x-text="submitting ? '{{t "newevent.p.importing" }}' : '{{t "newevent.p.import" }}'" + x-text="submitting ? '{{t "views.newevent.p.importing" }}' : '{{t "views.newevent.p.import" }}'" ></button> </form> |