redesing tab
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
</blockquote>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro field(label, title, number, binding, enable, unit) %}
|
||||
{% macro field(label, title, type, binding, enable, unit) %}
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<label for="{{ label }}" class="pull-right" style="margin-top: 5px;" title="{{ title }}">
|
||||
@@ -26,7 +26,7 @@
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="input-append">
|
||||
<input type="{{ number }}" id="{{ label }}" title="{{ title }}" class="input-small" step="0.01" data-bind="value: {{ binding }}, enable: {{ enable }}">
|
||||
<input type="{{ type }}" id="{{ label }}" title="{{ title }}" class="input-small" step="0.01" data-bind="value: {{ binding }}, enable: {{ enable }}">
|
||||
<span class="add-on" title="{{ title }}">{{ _(unit) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user