cnthompson / Beer366

It's a One-A-Day Leap Year Beer Celebration
6 stars 2 forks source link

Improvements for the add brewery page #42

Open cnthompson opened 10 years ago

cnthompson commented 10 years ago

On the Add/Edit Brewery page, the United States should be selected by default in the country drop-down. Alternatively, I would be content if you could detect the country of origin of the client web browser and use that as the default country. That would be pretty nifty. Also on this page, the brewery type should default to Brewery.

starryknight64 commented 10 years ago

From @cnthompson:

United States is now selected by default, as is brewery, but the regions combo box is not being populated. Additionally, the regions combo box does not get hidden if I change the country to something that isn't the United States.

starryknight64 commented 10 years ago

This was as a result of the domain not redirecting from a non-www beer366 URL to a www one.

I've added in redirection from beer366.com to www.beer366.com which resolves this issue and likely several others.