fix line break in interval input

This commit is contained in:
codl 2017-08-04 10:44:05 +02:00
parent 14d89869a0
commit 8423b169a0
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 12 additions and 10 deletions

View File

@ -1,5 +1,6 @@
{% macro interval_input(obj, attrname, scales) -%} {% macro interval_input(obj, attrname, scales) -%}
<span style='display:inline-block'>
<input type=number name={{attrname}}_significand <input type=number name={{attrname}}_significand
value={{obj[attrname + '_significand']}} value={{obj[attrname + '_significand']}}
min=0 step=1> min=0 step=1>
@ -10,6 +11,7 @@ min=0 step=1>
>{{scale[0]}}</option> >{{scale[0]}}</option>
{% endfor -%} {% endfor -%}
</select> </select>
</span>
{%- endmacro %} {%- endmacro %}