mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
Allow invalid ident update #2859
This commit is contained in:
parent
0944bd2077
commit
4a32c7641c
18 changed files with 101 additions and 32 deletions
|
@ -6,7 +6,7 @@ class SortedCountry
|
|||
include ActionView::Helpers
|
||||
|
||||
def all_options(selected = nil)
|
||||
quick_options = options_for_select([['', '']] + quick_list, { selected: selected })
|
||||
quick_options = options_for_select(quick_list, { selected: selected })
|
||||
|
||||
# no double select
|
||||
selected = quick_list.map(&:second).include?(selected) ? '' : selected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue