buidl out some basic functionality
This commit is contained in:
@@ -43,7 +43,7 @@ $content = function() { /* use ($bills) if fetching bills from the database */
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<form action="/add-bill" method="post">
|
||||
<form id="addBillForm">
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="description">Description</label>
|
||||
|
||||
@@ -21,6 +21,12 @@
|
||||
</nav>
|
||||
|
||||
<div class="container">
|
||||
<?php if (isset($error) && !empty($error)): ?>
|
||||
<div class="alert alert-danger" role="alert">
|
||||
<?php echo $error; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (isset($content) && is_callable($content)) $content(); ?>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user