Skip to content

Commit 841dc08

Browse files
committed
Fix borders on document edit form
1 parent 73ad3de commit 841dc08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/templates/Document/Form.inc.phtml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ namespace BNETDocs\Templates\Document; ?>
33
<form method="POST" action="?<?=($document_id ? 'id=' . filter_var($document_id, FILTER_SANITIZE_FULL_SPECIAL_CHARS) : '')?>">
44
<div class="form-group">
55
<label class="font-weight-bold" class="form-label" for="title">Title:</label><br/>
6-
<input class="form-control bg-dark text-light" type="text" name="title" id="title" tabindex="1" required autofocus="autofocus" value="<?=$form_title?>"/>
6+
<input class="border border-primary form-control bg-dark text-light" type="text" name="title" id="title" tabindex="1" required autofocus="autofocus" placeholder="Enter the document title here" value="<?=$form_title?>"/>
77
</div>
88
<div class="form-group">
99
<label class="font-weight-bold" for="content">Content:</label>
1010
<div class="custom-control custom-switch float-right">
1111
<input class="custom-control-input" type="checkbox" name="markdown" id="markdown" tabindex="3" title="Use markdown or use raw HTML" value="1"<?=($form_markdown ? ' checked="checked"' : '')?>/>
1212
<label class="custom-control-label" for="markdown" title="Use markdown or use raw HTML">Markdown</label>
1313
</div>
14-
<textarea class="border border-secondary form-control bg-dark text-light" name="content" id="content" tabindex="2" required style="height:200px;"><?=$form_content?></textarea>
14+
<textarea class="border border-primary form-control bg-dark text-light" name="content" id="content" tabindex="2" required placeholder="Enter the document content here" style="height:200px;"><?=$form_content?></textarea>
1515
</div>
1616
<div class="form-group text-center">
1717
<a class="btn btn-primary" href="<?=($document_url ?? 'javascript:history.go(-1);')?>" tabindex="4">Back</a>

0 commit comments

Comments
 (0)