guest list update

This commit is contained in:
Chris Smith
2019-03-07 18:09:35 -06:00
parent 3f9d27dbcb
commit 99b2bf06f7
2 changed files with 8 additions and 1 deletions

View File

@@ -209,7 +209,7 @@ $router->post('/manage/{uuid}', function ($uuid) {
} }
} }
header('Location: /manage/'.$uuid); header('Location: /manage/'. $uuid . '?alert=success');
}); });
// Run it! // Run it!

View File

@@ -1,7 +1,14 @@
<?php
if (isset($_GET['alert']) && $_GET['alert'] == 'success') { ?>
<div class="alert alert-success" role="alert">Guest list is saved!</div>
<?php }?>
<div class="row"> <div class="row">
<div class="col-md-12 order-md-1"> <div class="col-md-12 order-md-1">
<h3 class="mb-3">Your ticket information</h3> <h3 class="mb-3">Your ticket information</h3>
<p>When you update your guest information they will be signed up for event emails and also receive a login to manage their profile. This will allow
them to save their credit card information for faster checkout at the event. The email that we send them will include your contact information.</p>
<form class="needs-validation" novalidate method="POST"> <form class="needs-validation" novalidate method="POST">
<input type="hidden" name="uuid" value="<?=$order->uuid?>"> <input type="hidden" name="uuid" value="<?=$order->uuid?>">
<?php <?php