plugin wip

This commit is contained in:
Joey Kimsey
2024-12-14 06:10:01 -05:00
parent 03f1c978e3
commit c0e211eda7
36 changed files with 319 additions and 197 deletions

View File

@ -1,16 +1,32 @@
<form action="" method="post" class="form-horizontal">
<legend>Submit a Suggestion</legend>
<div class="form-group">
<label for="title" class="col-lg-3 control-label">Title</label>
<div class="col-lg-3">
<input type="text" class="form-check-input" name="title" id="title" value="{title}">
<div class="context-main-bg container py-4 mt-4">
<h2 class="text-center mb-4">Make a suggestion</h2>
<p class="col-lg-6 offset-md-3">
I can't be expected to come up with all the great ideas around here. Feel free to make a suggestion here. Some suggestions will be approved for the community to comment on!
</p>
<form action="" method="post">
<!-- Title -->
<div class="my-3 row">
<label for="title" class="col-lg-3 col-form-label text-end">Title:</label>
<div class="col-lg-6">
<input type="text" class="form-control" name="title" id="title" required>
</div>
</div>
</div>
<div class="form-group center-block">
<div class="col-lg-8 col-lg-offset-2">
<textarea class="form-control" name="suggestion" maxlength="2000" rows="4" cols="50" id="suggestion"></textarea>
<!-- Feedback -->
<div class="mb-3 row">
<label for="suggestion" class="col-lg-3 col-form-label text-end">Suggestion:</label>
<div class="col-lg-6">
<textarea class="form-control" name="suggestion" id="suggestion" rows="6" maxlength="2000" required></textarea>
<small class="form-text text-muted">Max: 2000 characters</small>
</div>
</div>
</div>
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Submit</button>
<input type="hidden" name="token" value="{TOKEN}">
</form>
<!-- Hidden Token -->
<input type="hidden" name="token" value="{TOKEN}">
<!-- Submit Button -->
<div class="text-center">
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Submit</button>
</div>
</form>
</div>