diff options
author | Raphael <mail@raphaelkabo.com> | 2023-10-08 19:26:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 19:26:04 +0100 |
commit | 44e150bc7f8391b56b78a0697dbd128a8bf8be7b (patch) | |
tree | ef065e69228453d5d49b886157a4a88ed3540474 /views/partials/eventGroupForm.handlebars | |
parent | 9ef8e220b4fb582d620016d293b340a63ec97cff (diff) | |
parent | 608532d24d868d939fd2cef6302d8d5089a81ee4 (diff) |
Merge pull request #112 from lowercasename/rk/typescript
Typescript migration
Diffstat (limited to 'views/partials/eventGroupForm.handlebars')
-rw-r--r-- | views/partials/eventGroupForm.handlebars | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/views/partials/eventGroupForm.handlebars b/views/partials/eventGroupForm.handlebars new file mode 100644 index 0000000..0b18bba --- /dev/null +++ b/views/partials/eventGroupForm.handlebars @@ -0,0 +1,47 @@ +<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"> +</div> +<div class="form-group"> + <label for="eventGroupDescription">Description</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> +</div> +<div class="form-group"> + <label for="eventGroupURL">Link</label> + <input type="url" class="form-control" id="eventGroupURL" name="eventGroupURL" placeholder="For tickets or a page with more information (optional)." x-model="data.eventGroupURL"> +</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"> +</div> +<div class="form-group"> + <label for="creatorEmail">Your email</label> + <div class="form-group"> + <input type="email" class="form-control" id="eventGroupCreatorEmail" name="creatorEmail" placeholder="Will not be shown anywhere (optional)." x-model="data.creatorEmail"> + <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> + </div> +</div> +<div class="form-group"> + <label>Cover image</label> + <div class="image-preview" id="group-image-preview"> + <label for="eventGroupImageUpload" id="group-image-label">Choose file</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> +</div> +<div class="form-group"> + <div class="col-12"> + <div + class="alert alert-danger" + role="alert" + x-show="errors.length > 0" + > + <p><i class="fas fa-exclamation-triangle"></i> Please fix these errors:</p> + <ul> + <template x-for="error in errors"> + <li x-text="error.message"></li> + </template> + </ul> + </div> + </div>
\ No newline at end of file |