wavefunk-ui 0.1.5

Askama and htmx UI component base for Wave Funk Rust applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div class="wf-inline-form-row">
  <div class="wf-inline-form-copy">
    <div class="wf-inline-form-label">{{ label }}</div>
    {%- match hint -%}
    {%- when Some with (text) -%}
    <div class="wf-inline-form-hint">{{ text }}</div>
    {%- when None -%}
    {%- endmatch -%}
  </div>
  <div class="wf-inline-form-control">{{ control_html }}</div>
  {%- match action_html -%}
  {%- when Some with (html) -%}
  <div class="wf-inline-form-action">{{ html }}</div>
  {%- when None -%}
  {%- endmatch -%}
</div>