diff --git a/app/views/account/trades/_form.html.erb b/app/views/account/trades/_form.html.erb index 10d0dac8..a6a9168c 100644 --- a/app/views/account/trades/_form.html.erb +++ b/app/views/account/trades/_form.html.erb @@ -21,7 +21,7 @@
- <%= 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" %>
diff --git a/app/views/accounts/new.html.erb b/app/views/accounts/new.html.erb index c7ca188a..460293a2 100644 --- a/app/views/accounts/new.html.erb +++ b/app/views/accounts/new.html.erb @@ -1,6 +1,6 @@

<%= t(".title") %>

<%= modal do %> -
+
<% if @account.accountable.blank? %>
<%= t ".select_accountable_type" %>