summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2013-09-25 19:06:02 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-25 19:12:22 +0200
commit1f7915a7014345386752de09a23d5c0fc6532d75 (patch)
treee880da5cc4774afb0677f369c0071d5b130a64ec
parent45086753b4670f6d6e2193158a1512732f533997 (diff)
Remove whitespaces from upload form textarea
-rw-r--r--application/views/file/upload_form.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index 6fdc01cb9..c74bb2ba1 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -7,11 +7,11 @@
<h3 class="panel-title">Text paste</h3>
</div>
<div class="panel-body">
- <textarea name="content" class="form-control text-upload">
- <?php if (isset($textarea_content)) {
+ <textarea name="content" class="form-control text-upload"><?php
+ if (isset($textarea_content)) {
echo $textarea_content;
- } ?>
- </textarea><br>
+ }
+ ?></textarea><br>
<button type="submit" class="btn btn-primary">Paste it!</button>
</div>
</form>