Skip to content

Commit

Permalink
remove button create if no journal entry select
Browse files Browse the repository at this point in the history
  • Loading branch information
thib44 committed Apr 28, 2017
1 parent 7e975b7 commit ff3ab09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/backend/journal_entries/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@
.activity-family-body
- journals.where(nature: n).each do |journal|
= link_to(journal.name, params.merge(journal_id: journal.id), class: 'btn btn-lg')
- f.clear_actions!

0 comments on commit ff3ab09

Please sign in to comment.