<form hx-post="{{ url_for('modules.berechnen', module_name='tvum') }}" hx-target="#modul-modal-body" hx-swap="innerHTML">

<div class="modal-modul mg">
<div class="columns is-multiline is-variable is-3">
  <div class="column is-12-tablet is-4-desktop">
    <div class="gl-card" style="background:linear-gradient(135deg,#eef2fa,#e8edf5);border-color:rgba(47,84,150,.1)">
      <div class="gl-card-header"><span class="icon" style="background:rgba(47,84,150,.1)">??</span><h4>TV/UM GF-AP</h4></div>
      <label class="gl-toggle"><input type="checkbox" name="tvum_ap_mont"><span class="toggle-track"></span><span class="toggle-label"> TVUM-AP montieren Wand</span></label>
      <div style="margin-top:8px">
        <div class="gl-grid-2">
          <div><label class="gl-label">Inst. Kanäle/SNR bef.</label><input class="gl-input gl-input-sm" name="inst_snr" type="number" step="1"></div>
          <div><label class="gl-label">GF-Innenkabel bef./einziehen</label><input class="gl-input gl-input-sm" name="gf_innen_bef" type="number" step="1"></div>
          <div><label class="gl-label">Anzahl Spleiße</label><input class="gl-input gl-input-sm" name="tvum_anz_spl" type="number" step="1"></div>
          <div><label class="gl-label">Anzahl Messungen</label><input class="gl-input gl-input-sm" name="tvum_anz_mess" type="number" step="1"></div>
        </div>
      </div>
    </div>
  </div>
  <div class="column is-12-tablet is-4-desktop">
    <div class="gl-card" style="background:linear-gradient(135deg,#edf7ed,#e6f3e6);border-color:rgba(39,174,96,.1)">
      <div class="gl-card-header"><span class="icon" style="background:rgba(39,174,96,.1)">??</span><h4>FTTH & NVT</h4></div>
      <div class="gl-subcard">
        <div style="font-weight:600;font-size:.78rem;margin-bottom:6px">FTTH GF-Spleißbox</div>
        <label class="gl-label">Anzahl Spleiße</label><input class="gl-input gl-input-sm" name="ftth_anz_spl" type="number" step="1">
      </div>
      <div class="gl-subcard">
        <div style="font-weight:600;font-size:.78rem;margin-bottom:6px">NVT</div>
        <label class="gl-label">Anzahl Spleiße</label><input class="gl-input gl-input-sm" name="nvt_anz_spl" type="number" step="1">
      </div>
    </div>
  </div>
  <div class="column is-12-tablet is-4-desktop">
    <div class="gl-card" style="background:linear-gradient(135deg,#fef9e7,#fdf3d0);border-color:rgba(243,156,18,.1)">
      <div class="gl-card-header"><span class="icon" style="background:rgba(243,156,18,.1)">??</span><h4>Kabelzug & Aktionen</h4></div>
      <div class="gl-grid-2">
        <div><label class="gl-label">Meter ausblasen</label><input class="gl-input gl-input-sm" name="ausbl_m" type="number" step="0.1"></div>
        <div><label class="gl-label">Meter einblasen</label><input class="gl-input gl-input-sm" name="einbl_m" type="number" step="0.1"></div>
      </div>
      
    </div>
  </div>
</div>
  {% include 'components/modul_actions.html' %}
</div>
</form>