mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 22:45:20 +02:00
Dashboard design fixes (#1898)
* Dashboard design fixes * Update dashboard greeting * Remove sidebar toggle from settings breadcrumbs * Autofocus and outlines for category dropdowns * Lint fixes
This commit is contained in:
parent
a4874815a6
commit
c610b0ba4b
25 changed files with 95 additions and 74 deletions
|
@ -1,14 +1,25 @@
|
|||
<%= render layout: "accounts/new/container", locals: { title: t(".title") } do %>
|
||||
<div class="text-sm">
|
||||
<%= render "account_type", accountable: Depository.new %>
|
||||
<%= render "account_type", accountable: Investment.new %>
|
||||
<%= render "account_type", accountable: Crypto.new %>
|
||||
<%= render "account_type", accountable: Property.new %>
|
||||
<%= render "account_type", accountable: Vehicle.new %>
|
||||
<%= render "account_type", accountable: CreditCard.new %>
|
||||
<%= render "account_type", accountable: Loan.new %>
|
||||
<%= render "account_type", accountable: OtherAsset.new %>
|
||||
<%= render "account_type", accountable: OtherLiability.new %>
|
||||
<% unless params[:classification] == "liability" %>
|
||||
<%= render "account_type", accountable: Depository.new %>
|
||||
<%= render "account_type", accountable: Investment.new %>
|
||||
<%= render "account_type", accountable: Crypto.new %>
|
||||
<%= render "account_type", accountable: Property.new %>
|
||||
<%= render "account_type", accountable: Vehicle.new %>
|
||||
<% end %>
|
||||
|
||||
<% unless params[:classification] == "asset" %>
|
||||
<%= render "account_type", accountable: CreditCard.new %>
|
||||
<%= render "account_type", accountable: Loan.new %>
|
||||
<% end %>
|
||||
|
||||
<% unless params[:classification] == "liability" %>
|
||||
<%= render "account_type", accountable: OtherAsset.new %>
|
||||
<% end %>
|
||||
|
||||
<% unless params[:classification] == "asset" %>
|
||||
<%= render "account_type", accountable: OtherLiability.new %>
|
||||
<% end %>
|
||||
|
||||
<% unless params[:return_to].present? %>
|
||||
<%= button_to imports_path(import: { type: "AccountImport" }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue