X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/58ba604b1c414d5484d8165c38662050809655aa..63ee9d994b0718108e45386230d6045f00af27a6:/src/editor/views/dialog/templates/checkbox.html
diff --git a/src/editor/views/dialog/templates/checkbox.html b/src/editor/views/dialog/templates/checkbox.html
index 3c14092..8d80d8c 100644
--- a/src/editor/views/dialog/templates/checkbox.html
+++ b/src/editor/views/dialog/templates/checkbox.html
@@ -1,5 +1,7 @@
-<p>
- <div style="float: left; width:100px;"><%= label %>:</div>
- <input type="checkbox" name="<%= name %>"/>
+<div style="vertical-align: top">
+ <label style="display: inline-block;">
+ <span style="display: inline-block; width:100px;"><%= label %>:</span>
+ <input type="checkbox" name="<%= name %>" <% if (checked) print('checked="checked"'); %>/>
+ </label>
<span class="description"><%= description %></span>
-</p>
\ No newline at end of file
+</div>
\ No newline at end of file