X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/58ba604b1c414d5484d8165c38662050809655aa..942d7dac932bdb6c659885aa97dd82f23ed00541:/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