mirror of
https://github.com/we-promise/sure.git
synced 2026-07-27 12:12:13 +00:00
* fix(i18n): use existing localized labels in web UI * fix(i18n): remove property area unit fallbacks
16 lines
807 B
Plaintext
16 lines
807 B
Plaintext
<%# locals: (account:, url:) %>
|
|
|
|
<%= render "accounts/form", account: account, url: url do |form| %>
|
|
<%= form.fields_for :accountable do |crypto_form| %>
|
|
<%= crypto_form.select :subtype,
|
|
Crypto.subtype_options_for_select,
|
|
{ label: t("cryptos.form.subtype_label"), prompt: t("cryptos.form.subtype_prompt"), include_blank: t("cryptos.form.subtype_none") } %>
|
|
|
|
<%= crypto_form.select :tax_treatment,
|
|
Crypto.tax_treatments.keys.map { |k| [t("accounts.tax_treatments.#{k}"), k] },
|
|
{ label: t("cryptos.form.tax_treatment_label"), include_blank: false },
|
|
{} %>
|
|
<p class="text-xs text-secondary mt-1"><%= t("cryptos.form.tax_treatment_hint") %></p>
|
|
<% end %>
|
|
<% end %>
|