summaryrefslogtreecommitdiff
path: root/views/createEventMagicLink.handlebars
blob: ab00dc5d74b7a78eade4fa9b2a6f7c5b1c3b2e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<article>

  <h2 class="mb-4">Request a link to create a new event</h2>

  <form
    action="/magic-link/event/create"
    method="post"
    hx-post="/magic-link/event/create"
    hx-target="article"
  >
    <p>
      The administrator of this instance has limited event creation to a set of specific email addresses. If your email address is allowed to create events, you will be sent a magic link. If not, you won't receive anything.
    </p>
    <p>
      If you run into any issues, please contact the instance administrator.
    </p>
    {{#if message}}
      <div class="alert alert-{{message.type}}" role="alert">
        {{message.text}}
      </div>
    {{/if}}
    <div class="form-group">
      <label for="email">Email address</label>
    <input type="email" class="form-control" id="email" placeholder="Email address" required name="email">
    </div>
    <div class="form-group text-center">
      <button type="submit" class="btn btn-primary w-50">Request magic link</button>
    </div>
  </form>
</article>