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
<section class="wf-form-section">
  <div class="wf-form-section-head">
    <div class="wf-form-section-title">{{ title }}</div>
    {%- match description -%}
    {%- when Some with (text) -%}
    <div class="wf-form-section-desc">{{ text }}</div>
    {%- when None -%}
    {%- endmatch -%}
  </div>
  <div class="wf-form-section-body">{{ body_html }}</div>
  {%- match actions_html -%}
  {%- when Some with (html) -%}
  {{ html }}
  {%- when None -%}
  {%- endmatch -%}
</section>