Skip to content

Instantly share code, notes, and snippets.

@Haar
Created November 2, 2015 21:39
Show Gist options
  • Save Haar/6bfcb6e071ac8446f2b8 to your computer and use it in GitHub Desktop.
Save Haar/6bfcb6e071ac8446f2b8 to your computer and use it in GitHub Desktop.
- if current_user.bank_accounts.empty? || current_user.client_bank_accounts.empty?
.panel.panel-default
.panel-heading
Getting Started
.panel-body
There are a few things you need to do before you can create a Split Payout:
%ul.list-group
- if current_user.bank_accounts.empty?
%li.list-group-item
= link_to 'Setup your bank account', new_user_bank_account_path
- if current_user.client_bank_accounts.empty?
%li.list-group-item
= link_to 'Add some Payout recipients', new_recipient_bank_account_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment