Skip to content

Commit

Permalink
Use method instead of variable. [#47]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Apr 12, 2020
1 parent 3430f70 commit 6eef2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/cells/state_selector/show.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= form_with url: url, local: true, class: 'state-selector' do |form|
%p
= label_tag :states, _('Choose one or more states:')
= select_tag :states, options_for_select(locale_state_options, @states&.map(&:abbr)), multiple: true
= select_tag :states, options_for_select(locale_state_options, states&.map(&:abbr)), multiple: true
%p
= submit_tag _('Go')

0 comments on commit 6eef2c6

Please sign in to comment.