fix: dont show None in textarea on issue creation
This commit is contained in:
parent
6cc30ba08e
commit
d58bfacf10
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="editor" style="max-height: 220px;">
|
||||
<div class="form-group">
|
||||
<textarea style="width: 100%; height: 220px;" id="markdown-content" name="comment" required>{{ form.comment.value }}</textarea>
|
||||
<textarea style="width: 100%; height: 220px;" id="markdown-content" name="comment" required>{{ form.comment.value|default_if_none:"" }}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane well" id="preview" style="min-height: 200px; magin: 0;">
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="editor" style="max-height: 220px;">
|
||||
<div class="form-group">
|
||||
<textarea style="width: 100%; height: 220px;" id="markdown-content" name="description">{{ form.description.value }}</textarea>
|
||||
<textarea style="width: 100%; height: 220px;" id="markdown-content" name="description">{{ form.description.value|default_if_none:"" }}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane well" id="preview" style="min-height: 200px; magin: 0;">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue