summaryrefslogtreecommitdiff
path: root/views/optionsform.handlebars
blob: 78e184b21097371812b0e5866e324dc01aada1be (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<div class="form-group row">
  <div class="col-sm-2">{{t "options.title" }}</div>
  <div class="col-sm-10">
    <div class="form-check">
      <input class="form-check-input" type="checkbox" id="joinCheckbox" name="joinCheckbox" {{#if data.joinCheckbox}}checked{{/if}}>
      <label class="form-check-label" for="joinCheckbox">
        {{t "views.join" }}
      </label>
    </div>
    <div class="form-check">
      <input class="form-check-input" type="checkbox" id="guestlistCheckbox" name="guestlistCheckbox"  {{#if data.guestlistCheckbox}}checked{{/if}}>
      <label class="form-check-label" for="guestlistCheckbox">
        {{t "views.options.showlistattendees" }}
      </label>
    </div>
    <div class="form-check">
      <input class="form-check-input" type="checkbox" id="interactionCheckbox" name="interactionCheckbox" {{#if data.interactionCheckbox}}checked{{/if}}>
      <label class="form-check-label" for="interactionCheckbox">
        {{t "views.interaction" }}
      </label>
    </div>
  </div>
</div>

<div class="form-group row">
  <div class="col-sm-2">{{t "options.title" }}</div>
  <div class="col-sm-10">
    <div class="form-check">
      <input class="form-check-input" type="checkbox" id="joinCheckbox" name="joinCheckbox" {{#if eventData.usersCanAttend}}checked{{/if}}>
      <label class="form-check-label" for="joinCheckbox">
        {{t "views.join" }}
      </label>
    </div>
    <div class="form-check">
      <input class="form-check-input" type="checkbox" id="guestlistCheckbox" name="guestlistCheckbox"  {{#if eventData.showUsersList}}checked{{/if}}>
      <label class="form-check-label" for="guestlistCheckbox">
        {{t "views.options.showlistattendees" }}
      </label>
    </div>
    <div class="form-check">
      <input class="form-check-input" type="checkbox" id="interactionCheckbox" name="interactionCheckbox" {{#if eventData.usersCanComment}}checked{{/if}}>
      <label class="form-check-label" for="interactionCheckbox">
        {{t "views.interaction" }}
      </label>
    </div>
  </div>
</div>