|
| 1 | +<div class="row"> |
| 2 | + <div class="multiple-fields-row three-items"> |
| 3 | + <div class="field-col"> |
| 4 | + <div class="select-field is-required"> |
| 5 | + <label for="{{ cashinkind_form.implement_modality_type.id_for_label }}">Implement Modality</label> |
| 6 | + <p class="help-text">{{ cashinkind_form.implement_modality_type.help_text }}</p> |
| 7 | + <select |
| 8 | + name="{{ cashinkind_form.implement_modality_type.name }}" |
| 9 | + id="{{ cashinkind_form.implement_modality_type.id_for_label }}" |
| 10 | + hx-get="{% url 'get-transfer-mechanism-types' %}" |
| 11 | + hx-trigger="change" |
| 12 | + hx-target="#{{ cashinkind_form.transfer_mechanism_type.id_for_label }}" |
| 13 | + hx-swap="innerHTML" |
| 14 | + > |
| 15 | + {% for type in cashinkind_form.implement_modality_type %}{{ type }}{% endfor %} |
| 16 | + </select> |
| 17 | + <div class="sign-up-field-error">{{ cashinkind_form.implement_modality_type.errors }}</div> |
| 18 | + </div> |
| 19 | + </div> |
| 20 | + <div class="field-col"> |
| 21 | + <div class="select-field is-required"> |
| 22 | + <label for="{{ cashinkind_form.transfer_mechanism_type.id_for_label }}">Transfer Mechanism</label> |
| 23 | + <p class="help-text">{{ cashinkind_form.transfer_mechanism_type.help_text }}</p> |
| 24 | + <select |
| 25 | + name="{{ cashinkind_form.transfer_mechanism_type.name }}" |
| 26 | + id="{{ cashinkind_form.transfer_mechanism_type.id_for_label }}" |
| 27 | + hx-get="{% url 'get-unit-types' %}" |
| 28 | + hx-trigger="change" |
| 29 | + hx-target="#{{ cashinkind_form.unit_type.id_for_label }}" |
| 30 | + hx-swap="innerHTML" |
| 31 | + > |
| 32 | + {% for type in cashinkind_form.transfer_mechanism_type %}{{ type }}{% endfor %} |
| 33 | + </select> |
| 34 | + <div class="sign-up-field-error">{{ cashinkind_form.transfer_mechanism_type.errors }}</div> |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + <div class="field-col cash-package-section"> |
| 38 | + <div class="select-field is-required"> |
| 39 | + <label for="{{cashinkind_form.unit_type.id_for_label}}">Unit Type</label> |
| 40 | + <p class="help-text" id="unit_type_help_text"></p> |
| 41 | + <select |
| 42 | + name="{{ cashinkind_form.unit_type.name }}" |
| 43 | + id="{{ cashinkind_form.unit_type.id_for_label }}" |
| 44 | + hx-trigger="change" |
| 45 | + hx-target="#{{ cashinkind_form.package_type.id_for_label }}" |
| 46 | + hx-swap="innerHTML" |
| 47 | + > |
| 48 | + {% for type in cashinkind_form.unit_type %}{{ type }}{% endfor %} |
| 49 | + </select> |
| 50 | + <small class="sign-up-field-error">{{ cashinkind_form.unit_type.errors }}</small> |
| 51 | + </div> |
| 52 | + </div> |
| 53 | + <div class="field-col"> |
| 54 | + <div class="select-field"> |
| 55 | + <label for="{{ cashinkind_form.package_type.id_for_label }}">Package Type</label> |
| 56 | + <p class="help-text">{{ cashinkind_form.package_type.help_text }}</p> |
| 57 | + <select |
| 58 | + name="package_type" |
| 59 | + id="{{ cashinkind_form.package_type.id_for_label }}"> |
| 60 | + {% for type in cashinkind_form.package_type %}{{ type }}{% endfor %} |
| 61 | + </select> |
| 62 | + <small class="sign-up-field-error">{{ cashinkind_form.package_type.errors }}</small> |
| 63 | + </div> |
| 64 | + </div> |
| 65 | + <div class="field-col food-section"> |
| 66 | + <div class="select-field is-required"> |
| 67 | + <label for="{{ cashinkind_form.transfer_category.id_for_label }}"> |
| 68 | + {{cashinkind_form.transfer_category.label }} |
| 69 | + </label> |
| 70 | + <p class="help-text">{{ cashinkind_form.transfer_category.help_text }}</p> |
| 71 | + <select name="{{cashinkind_form.transfer_category.name}}" |
| 72 | + id="{{cashinkind_form.transfer_category.id_for_label}}" |
| 73 | + > |
| 74 | + {% for type in cashinkind_form.transfer_category %}{{ type }}{% endfor %} |
| 75 | + </select> |
| 76 | + <small class="sign-up-field-error">{{ cashinkind_form.transfer_category.errors }}</small> |
| 77 | + </div> |
| 78 | + </div> |
| 79 | + <div class="field-col"> |
| 80 | + <div class="select-field"> |
| 81 | + <label>{{ cashinkind_form.no_of_transfers.label }}</label> |
| 82 | + <p class="help-text">{{ cashinkind_form.no_of_transfers.help_text }}</p> |
| 83 | + {{ cashinkind_form.no_of_transfers }} |
| 84 | + <small class="sign-up-field-error">{{ cashinkind_form.no_of_transfers.errors }}</small> |
| 85 | + </div> |
| 86 | + </div> |
| 87 | + <div class="field-col"> |
| 88 | + <div class="select-field"> |
| 89 | + <label>{{ cashinkind_form.units.label }} / Transfer Value</label> |
| 90 | + <p class="help-text">{{ cashinkind_form.units.help_text }}</p> |
| 91 | + {{ cashinkind_form.units }} |
| 92 | + <small class="sign-up-field-error">{{ cashinkind_form.units.errors }}</small> |
| 93 | + </div> |
| 94 | + </div> |
| 95 | + <div class="field-col grant-type-section"> |
| 96 | + <div class="select-field is-required"> |
| 97 | + <label for="{{ cashinkind_form.grant_type.id_for_label }}">{{ cashinkind_form.grant_type.label }} / |
| 98 | + Assistance Type</label> |
| 99 | + <p class="help-text">{{ cashinkind_form.grant_type.help_text }}</p> |
| 100 | + <select name="{{ cashinkind_form.grant_type.name }}" |
| 101 | + id="{{ cashinkind_form.grant_type.id_for_label }}"> |
| 102 | + {% for type in cashinkind_form.grant_type %}{{ type }}{% endfor %} |
| 103 | + </select> |
| 104 | + <small class="sign-up-field-error">{{ cashinkind_form.grant_type.errors }}</small> |
| 105 | + </div> |
| 106 | + </div> |
| 107 | + </div> |
| 108 | +</div> |
| 109 | + |
0 commit comments