Skip to content

Commit f0a7716

Browse files
committed
Fixed issue kenwebb#14 - Allow choice of provinces
1 parent 574c70b commit f0a7716

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Diff for: app/helpers/application_helper.rb

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
module ApplicationHelper
22
def us_states
33
[
4-
['Massachusetts', 'MA'],
4+
# Canadian provinces and territories
5+
['Ontario', 'ON'],
6+
['Quebec', 'QC'],
7+
['Alberta', 'AB'],
8+
['British Columbia', 'BC'],
9+
['Manitoba', 'MB'],
10+
['New Brunswick', 'NB'],
11+
['Newfoundland and Labrador', 'NL'],
12+
['Northwest Territories', 'NT'],
13+
['Nova Scotia', 'NS'],
14+
['Nunavut', 'NU'],
15+
['Prince Edward Island', 'PE'],
16+
['Saskatchewan', 'SK'],
17+
['Yukon', 'YT'],
18+
# US states
519
['Alabama', 'AL'],
620
['Alaska', 'AK'],
721
['Arizona', 'AZ'],

0 commit comments

Comments
 (0)