People can now post pastes!

This commit is contained in:
pikami
2016-06-09 08:22:48 +00:00
parent 7291bdc056
commit d1019f8df6
4 changed files with 49 additions and 3 deletions

View File

@@ -1,14 +1,15 @@
<div class="panel panel-default">
<div class="panel-body">
<form role="form">
<form role="form" method="post" action="post.php" onsubmit="document.getElementById('submit').disabled=true;document.getElementById('submit').value='Please wait...';">
<div class="form-group">
<label for="title">Paste title:</label>
<input type="title" class="form-control" id="title">
<input type="title" class="form-control" id="title" name="title">
</div>
<div class="form-group">
<label for="text">New paste:</label>
<textarea class="form-control" rows="5" id="text"></textarea>
<textarea class="form-control" rows="5" id="text" name="text"></textarea>
</div>
<input type='hidden' name='type' value='paste'></input>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</div>