UX: Display number combobox as an input group so it looks nice on mobile too.
This commit is contained in:
parent
1ca52615a6
commit
adecdbee56
|
@ -11,29 +11,36 @@
|
|||
value=pollType
|
||||
valueAttribute="value"
|
||||
none="poll.ui_builder.poll_type.regular"}}
|
||||
</div>
|
||||
|
||||
{{#if showMinMax}}
|
||||
<label>{{i18n 'poll.ui_builder.poll_config.min'}}</label>
|
||||
<div class="input-group">
|
||||
<label class="input-group-label">{{i18n 'poll.ui_builder.poll_config.min'}}</label>
|
||||
{{combo-box content=pollMinOptions
|
||||
value=pollMin
|
||||
valueAttribute="value"
|
||||
class="poll-options-min"}}
|
||||
</div>
|
||||
|
||||
<label>{{i18n 'poll.ui_builder.poll_config.max'}}</label>
|
||||
|
||||
<div class="input-group">
|
||||
<label class="input-group-label">{{i18n 'poll.ui_builder.poll_config.max'}}</label>
|
||||
{{combo-box content=pollMaxOptions
|
||||
value=pollMax
|
||||
valueAttribute="value"
|
||||
class="poll-options-max"}}
|
||||
</div>
|
||||
|
||||
{{#if isNumber}}
|
||||
<label>{{i18n 'poll.ui_builder.poll_config.step'}}</label>
|
||||
<div class="input-group">
|
||||
<label class="input-group-label">{{i18n 'poll.ui_builder.poll_config.step'}}</label>
|
||||
{{combo-box content=pollStepOptions
|
||||
value=pollStep
|
||||
valueAttribute="value"
|
||||
class="poll-options-step"}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<div class="input-group">
|
||||
<label>
|
||||
|
|
Loading…
Reference in New Issue