Skip to content

Commit ae10f37

Browse files
committed
remove whitespace
1 parent 2ce38f5 commit ae10f37

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

sqlpage/templates/form.handlebars

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
<input type="hidden" name="{{name}}" {{#if id}}id="{{id}}" {{/if}}value="{{value}}">
4444
{{else}}
4545
<label class="form-label mb-2 col-md-{{default width 12}}">
46-
{{default label name}}
46+
{{~default label name~}}
4747
{{~#if required}}
4848
<span class="text-danger ms-1" aria-label="required" title="required">*</span>
4949
{{/if}}
50-
{{#if (eq type 'textarea')}}
50+
{{~#if (eq type 'textarea')~}}
5151
<textarea
5252
name="{{name}}"
5353
class="form-control {{class}}"
@@ -64,7 +64,7 @@
6464
>
6565
{{~#if value includeZero=true}}{{value}}{{/if~}}
6666
</textarea>
67-
{{else}}{{#if (eq type 'select')}}
67+
{{~else~}}{{#if (eq type 'select')~}}
6868
<select name="{{name}}"
6969
class="form-select {{class}}"
7070
{{~#if id}} id="{{id}}" {{/if~}}
@@ -123,14 +123,14 @@
123123
</div>
124124
{{/if}}
125125
{{/if}}
126-
{{#if description}}
126+
{{~#if description~}}
127127
<small class="form-hint mt-0">{{description}}</small>
128-
{{/if}}
129-
{{#if description_md}}
128+
{{~/if~}}
129+
{{~#if description_md~}}
130130
<small class="form-hint mt-0">{{{markdown description_md}}}</small>
131-
{{/if}}
131+
{{~/if~}}
132132
</label>
133-
{{/if}}
133+
{{~/if~}}
134134
{{/if}}
135135
{{#if (eq type "file")}}
136136
<!-- Change the form encoding type if this is a file input-->

0 commit comments

Comments
 (0)