Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (30 sloc) 2.647 kb
# 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
Jump to Line
Something went wrong with that request. Please try again.