summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rwxr-xr-xviews/optionsform.handlebars2
-rwxr-xr-xviews/partials/neweventform.handlebars12
-rwxr-xr-xviews/partials/sidebar.handlebars2
3 files changed, 2 insertions, 14 deletions
diff --git a/views/optionsform.handlebars b/views/optionsform.handlebars
index a844d12..85ebd9f 100755
--- a/views/optionsform.handlebars
+++ b/views/optionsform.handlebars
@@ -10,7 +10,7 @@
<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">
- {{#if isPrivate}}Privately display{{else}}Publicly display{{/if}} the list of attendees
+ Display the list of attendees
</label>
</div>
<div class="form-check">
diff --git a/views/partials/neweventform.handlebars b/views/partials/neweventform.handlebars
index d456d2e..3c7e060 100755
--- a/views/partials/neweventform.handlebars
+++ b/views/partials/neweventform.handlebars
@@ -1,6 +1,5 @@
<h4 class="mb-2">Create an event</h4>
<form id="newEventForm" action="/newevent" method="post" enctype="multipart/form-data">
- <input type="text" hidden class="form-control" id="eventType" name="eventType" value="{{eventType}}">
<div class="form-group row">
<label for="eventName" class="col-sm-2 col-form-label">Event name</label>
<div class="form-group col-sm-10">
@@ -54,17 +53,6 @@
<small class="form-text">Recommended dimensions (w x h): 920px by 300px.</small>
</div>
</div>
- {{#unless isPublic}}
- <div class="form-group row">
- <label for="eventPassword" class="col-sm-2 col-form-label">Event password</label>
- <div class="form-group col-sm-10">
- <input type="password" class="form-control" id="eventPassword" name="eventPassword" placeholder="Don't forget it!" data-validation="required">
- </div>
- <div class="form-group col-sm-10 offset-sm-2">
- <div class="" id="passwordStrengthBar"></div>
- </div>
- </div>
- {{/unless}}
<div class="form-group row">
<label for="hostName" class="col-sm-2 col-form-label">Host name</label>
<div class="form-group col-sm-10">
diff --git a/views/partials/sidebar.handlebars b/views/partials/sidebar.handlebars
index 1aa0f74..980e699 100755
--- a/views/partials/sidebar.handlebars
+++ b/views/partials/sidebar.handlebars
@@ -3,5 +3,5 @@
<p class="lead text-center mb-4">Nicer events</p>
- <a class="btn btn-success mb-2 btn-block" href="/new/event/public"><i class="far fa-calendar-plus"></i> New event</a>
+ <a class="btn btn-success mb-2 btn-block" href="/new"><i class="far fa-calendar-plus"></i> New event</a>
</div>