palm-paste/NewPastePanel.php

17 lines
725 B
PHP
Raw Normal View History

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