This repository has been archived by the owner on Apr 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
your_constants.rb
35 lines (30 loc) · 2.58 KB
/
your_constants.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# feel free to alter these constants as you need to
# if you want a user-defined field to use a pre-set list (i.e. for a dropdown menu),
# put the list in the USER_FIELDS hash
module YourConstants
USER_FIELDS = {
'state' => [['Alaska', 'AK'], ['Alabama', 'AL'], ['Arkansas', 'AR'], ['Arizona', 'AZ'],
['California', 'CA'], ['Colorado', 'CO'], ['Connecticut', 'CT'], ['District of Columbia', 'DC'],
['Delaware', 'DE'], ['Florida', 'FL'], ['Georgia', 'GA'], ['Hawaii', 'HI'], ['Iowa', 'IA'],
['Idaho', 'ID'], ['Illinois', 'IL'], ['Indiana', 'IN'], ['Kansas', 'KS'], ['Kentucky', 'KY'],
['Louisiana', 'LA'], ['Massachusetts', 'MA'], ['Maryland', 'MD'], ['Maine', 'ME'], ['Michigan', 'MI'],
['Minnesota', 'MN'], ['Missouri', 'MO'], ['Mississippi', 'MS'], ['Montana', 'MT'], ['North Carolina', 'NC'],
['North Dakota', 'ND'], ['Nebraska', 'NE'], ['New Hampshire', 'NH'], ['New Jersey', 'NJ'],
['New Mexico', 'NM'], ['Nevada', 'NV'], ['New York', 'NY'], ['Ohio', 'OH'], ['Oklahoma', 'OK'],
['Oregon', 'OR'], ['Pennsylvania', 'PA'], ['Rhode Island', 'RI'], ['South Carolina', 'SC'], ['South Dakota', 'SD'],
['Tennessee', 'TN'], ['Texas', 'TX'], ['Utah', 'UT'], ['Virginia', 'VA'], ['Vermont', 'VT'],
['Washington', 'WA'], ['Wisconsin', 'WI'], ['West Virginia', 'WV'], ['Wyoming', 'WY']],
'role' => ['SPDG Director', 'SPDG Evaluator', 'SPDG Coordinator', 'SPDG Staff', 'Other'],
'mailing_state' => [['Alaska', 'AK'], ['Alabama', 'AL'], ['Arkansas', 'AR'], ['Arizona', 'AZ'],
['California', 'CA'], ['Colorado', 'CO'], ['Connecticut', 'CT'], ['District of Columbia', 'DC'],
['Delaware', 'DE'], ['Florida', 'FL'], ['Georgia', 'GA'], ['Hawaii', 'HI'], ['Iowa', 'IA'],
['Idaho', 'ID'], ['Illinois', 'IL'], ['Indiana', 'IN'], ['Kansas', 'KS'], ['Kentucky', 'KY'],
['Louisiana', 'LA'], ['Massachusetts', 'MA'], ['Maryland', 'MD'], ['Maine', 'ME'], ['Michigan', 'MI'],
['Minnesota', 'MN'], ['Missouri', 'MO'], ['Mississippi', 'MS'], ['Montana', 'MT'], ['North Carolina', 'NC'],
['North Dakota', 'ND'], ['Nebraska', 'NE'], ['New Hampshire', 'NH'], ['New Jersey', 'NJ'],
['New Mexico', 'NM'], ['Nevada', 'NV'], ['New York', 'NY'], ['Ohio', 'OH'], ['Oklahoma', 'OK'],
['Oregon', 'OR'], ['Pennsylvania', 'PA'], ['Rhode Island', 'RI'], ['South Carolina', 'SC'], ['South Dakota', 'SD'],
['Tennessee', 'TN'], ['Texas', 'TX'], ['Utah', 'UT'], ['Virginia', 'VA'], ['Vermont', 'VT'],
['Washington', 'WA'], ['Wisconsin', 'WI'], ['West Virginia', 'WV'], ['Wyoming', 'WY']],
}.freeze
end