summaryrefslogtreecommitdiff
path: root/views/partials/eventGroupForm.handlebars
diff options
context:
space:
mode:
authorRaphael Kabo <mail@raphaelkabo.com>2025-05-28 18:32:47 +0100
committerRaphael Kabo <mail@raphaelkabo.com>2025-05-28 18:32:47 +0100
commita6f8ec770d06ce33042ed3f222cba786897e0233 (patch)
treea060e72668de41fcbeae5e891ee86b096b096f26 /views/partials/eventGroupForm.handlebars
parent08fa2f616c90e59066d0308097c65c424b5b4a88 (diff)
parentfd637b405c8784a07dabd54b10fda98ad9f4a4ad (diff)
Merge remote-tracking branch 'origin/main' into clearer-editing-mode
Diffstat (limited to 'views/partials/eventGroupForm.handlebars')
-rw-r--r--views/partials/eventGroupForm.handlebars34
1 files changed, 17 insertions, 17 deletions
diff --git a/views/partials/eventGroupForm.handlebars b/views/partials/eventGroupForm.handlebars
index 5536e49..5cc8b40 100644
--- a/views/partials/eventGroupForm.handlebars
+++ b/views/partials/eventGroupForm.handlebars
@@ -1,44 +1,44 @@
<input type="hidden" name="magicLinkToken" value="{{magicLinkToken}}" x-ref="magicLinkToken">
<div class="form-group">
- <label for="eventGroupName">Name</label>
- <input type="text" class="form-control" id="eventGroupName" name="eventGroupName" placeholder="Make it snappy." x-model="data.eventGroupName">
+ <label for="eventGroupName">{{t "common.eventgroupname" }}</label>
+ <input type="text" class="form-control" id="eventGroupName" name="eventGroupName" placeholder="{{t "views.partials.snappy" }}" x-model="data.eventGroupName">
</div>
<div class="form-group">
- <label for="eventGroupDescription">Description</label>
+ <label for="eventGroupDescription">{{t "views.partials.eventgroupform.eventgroupddesc" }}</label>
<textarea class="form-control" id="eventGroupDescription" name="eventGroupDescription" x-model="data.eventGroupDescription">{{eventGroupData.description}}</textarea>
- <small class="form-text"><a href="https://commonmark.org/help/">Markdown</a> formatting supported.</small>
+ <small class="form-text">{{{t "views.partials.mdsupport" }}}</small>
</div>
<div class="form-group">
- <label for="eventGroupURL">Link</label>
+ <label for="eventGroupURL">{{t "views.partials.eventgroupform.eventgroupurl" }}</label>
<input type="url" class="form-control" id="eventGroupURL" name="eventGroupURL" placeholder="https://example.com" x-model="data.eventGroupURL">
- <small class="form-text">For tickets or a page with more information (optional).</small>
+ <small class="form-text">{{t "views.partials.eventgroupform.eventgroupurldesc" }}</small>
</div>
<div class="form-group">
- <label for="hostName">Host or organisation name</label>
- <input type="text" class="form-control" id="eventGroupHostName" name="hostName" placeholder="Will be shown on the event group page (optional)." x-model="data.hostName">
+ <label for="hostName">{{t "views.partials.eventgroupform.hostname" }}</label>
+ <input type="text" class="form-control" id="eventGroupHostName" name="hostName" placeholder="{{t "views.partials.eventgroupform.isshowningroup" }}" x-model="data.hostName">
</div>
<div class="form-group">
- <label for="creatorEmail">Your email</label>
+ <label for="creatorEmail">{{t "views.partials.eventgroupform.creatoremail" }}</label>
<div class="form-group">
- <input type="email" class="form-control" id="eventGroupCreatorEmail" name="creatorEmail" placeholder="Will not be shown anywhere (optional)." x-model.fill="data.creatorEmail" {{#if creatorEmail}}value="{{creatorEmail}}" readonly{{/if}}>
- <small class="form-text">If you provide your email, we will send your secret editing password here, and use it to notify you of updates to the event.</small>
+ <input type="email" class="form-control" id="eventGroupCreatorEmail" 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">
- <label>Cover image</label>
+ <label>{{t "common.coverimg" }}</label>
<div class="image-preview" id="group-image-preview">
- <label for="eventGroupImageUpload" id="group-image-label">Choose file</label>
+ <label for="eventGroupImageUpload" id="group-image-label">{{t "views.partials.choosefile" }}</label>
<input type="file" name="imageUpload" id="group-image-upload" accept="image/jpeg,image/gif,image/png" x-ref="eventGroupImageUpload"/>
</div>
- <small class="form-text">Recommended dimensions (w x h): 920px by 300px.</small>
+ <small class="form-text">{{t "views.partials.recommendeddimensions" }}</small>
</div>
{{#if showPublicEventList}}
<div class="form-group">
- <label>Options</label>
+ <label>{{{t "views.partials.eventgroup.options" }}}</label>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="publicGroupCheckbox" name="publicCheckbox" x-model="data.publicCheckbox">
<label class="form-check-label" for="publicGroupCheckbox">
- Display this group on the public group list
+ {{t "views.partials.eventgroupform.publicgroup" }}
</label>
</div>
</div>
@@ -50,7 +50,7 @@
role="alert"
x-show="errors.length > 0"
>
- <p><i class="fas fa-exclamation-triangle"></i> Please fix these errors:</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>