Rework expert mode switch

This commit is contained in:
Stephan Porada 2020-09-16 09:15:32 +02:00
parent c0472eb6c5
commit eaba2879dd

View File

@ -10,8 +10,21 @@
material_icon='format_list_numbered') }} material_icon='format_list_numbered') }}
{{ M.render_field(display_options_form.result_context, {{ M.render_field(display_options_form.result_context,
material_icon='short_text') }} material_icon='short_text') }}
{{ M.render_field(display_options_form.expert_mode) }} <div class="col s12" style="line-height: 38px;">
<div class="col s8">
{{ display_options_form.expert_mode.label.text }}
</div>
<div class="class col s4">
<div class="switch">
<label style="margin-left: -20px;">
{{ display_options_form.expert_mode() }}
<span class="lever"></span>
</label>
</div>
</div>
</div>
</form> </form>
</div> </div>
</div> </div>
</div> </div>