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
<fieldset class="wf-object-fieldset">
  <legend class="wf-object-legend">{{ legend }}</legend>
  {%- match description -%}
  {%- when Some with (text) -%}
  <p class="wf-object-description">{{ text }}</p>
  {%- when None -%}
  {%- endmatch -%}
  <div class="wf-object-body">{{ body_html }}</div>
  {%- match actions_html -%}
  {%- when Some with (html) -%}
  <div class="wf-object-actions">{{ html }}</div>
  {%- when None -%}
  {%- endmatch -%}
</fieldset>