The personal finance app for everyone
Allow partial investment quantities (#1174)
Zach Gollwitzer30f7c120e11d
diff --git a/app/views/account/trades/_form.html.erb b/app/views/account/trades/_form.html.erbindex 10d0dac8..a6a9168c 100644--- a/app/views/account/trades/_form.html.erb+++ b/app/views/account/trades/_form.html.erb@@ -21,7 +21,7 @@</div><div data-trade-form-target="qtyInput">- <%= form.number_field :qty, label: t(".qty"), placeholder: "10", min: 0 %>+ <%= form.number_field :qty, label: t(".qty"), placeholder: "10", min: 0.000000000000000001, step: "any" %></div><div data-trade-form-target="priceInput">diff --git a/app/views/accounts/new.html.erb b/app/views/accounts/new.html.erbindex c7ca188a..460293a2 100644--- a/app/views/accounts/new.html.erb+++ b/app/views/accounts/new.html.erb@@ -1,6 +1,6 @@<h1 class="text-3xl font-semibold font-display"><%= t(".title") %></h1><%= modal do %>- <div class="flex flex-col min-h-[530px] w-screen max-w-xl" data-controller="list-keyboard-navigation">+ <div class="flex flex-col w-screen max-w-xl" data-controller="list-keyboard-navigation"><% if @account.accountable.blank? %><div class="border-b border-alpha-black-25 p-4 text-gray-400"><%= t ".select_accountable_type" %>