mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
* Move accountable partials * Split accountables into separate view partials * Fix test * Add form to permitted partials * Fix failing system tests * Update new account modal views * New sync algorithm implementation * Update account system test assertions to match new behavior * Fix off by 1 date error * Revert new balance sync algorithm * Add missing account overviews
17 lines
687 B
Plaintext
17 lines
687 B
Plaintext
<div>
|
|
<hr class="my-4">
|
|
|
|
<div class="space-y-2">
|
|
<%= f.fields_for :accountable do |loan_form| %>
|
|
<div class="flex items-center gap-2">
|
|
<%= loan_form.number_field :interest_rate, label: t(".interest_rate"), placeholder: t(".interest_rate_placeholder"), min: 0, step: 0.01 %>
|
|
<%= loan_form.select :rate_type, options_for_select([["Fixed", "fixed"], ["Variable", "variable"], ["Adjustable", "adjustable"]]), { label: t(".rate_type") } %>
|
|
</div>
|
|
|
|
<div class="flex items-center gap-2">
|
|
<%= loan_form.number_field :term_months, label: t(".term_months"), placeholder: t(".term_months_placeholder") %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div>
|