hitobito-kjv/app/views/kjv/membership_fees/_new.html.haml
KJV Bautzen e9675d5d0e Phase 1: Beitragsstatus und Mitgliedsausweis 🤖
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 20:19:06 +02:00

32 lines
1.5 KiB
Text

-# Copyright (c) 2026, Kreisjagdverband Bautzen e.V. This file is part of
-# hitobito_kjv and licensed under the Affero General Public License version 3
-# or later. See the COPYING file at the top-level directory.
#membership-fees-new.modal.fade
.modal-dialog
.modal-content
.modal-header
%h5.modal-title
%b= t('.title')
= form_tag(group_membership_fees_path(group), method: :post) do
= hidden_field_tag(:return_url, return_url)
.modal-body
- if people_count.zero?
%p= t('.no_entries')
- else
= hidden_field_tag(:ids, people_ids.join(','))
%p= t('.intro', count: people_count)
.mb-3
= label_tag(:beitrag_bezahlt_bis, Person.human_attribute_name(:beitrag_bezahlt_bis), class: 'form-label')
= number_field_tag(:beitrag_bezahlt_bis, default_year, min: 1900, max: 2200, step: 1,
class: 'form-control', style: 'max-width: 10rem', inputmode: 'numeric')
.form-check
= check_box_tag(:clear, '1', false, class: 'form-check-input')
= label_tag(:clear, t('.clear'), class: 'form-check-label')
.modal-footer
- unless people_count.zero?
= submit_tag(t('.submit', count: people_count), class: 'btn btn-primary')
= link_to(ti('button.cancel'), '#', class: 'link cancel',
onclick: "event.preventDefault(); $('#membership-fees-new').modal('hide')")