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
17
18
<section class="wf-repeatable-array">
  <div class="wf-repeatable-head">
    <div>
      <div class="wf-repeatable-title">{{ label }}</div>
      {%- match description -%}
      {%- when Some with (text) -%}
      <div class="wf-repeatable-description">{{ text }}</div>
      {%- when None -%}
      {%- endmatch -%}
    </div>
    {%- match action_html -%}
    {%- when Some with (html) -%}
    {{ html }}
    {%- when None -%}
    {%- endmatch -%}
  </div>
  <div class="wf-repeatable-items">{{ items_html }}</div>
</section>