romul/spree_address_book — pull request #25 by clemens (2012-07-25 14:57:18+00:00)
Title: Fix: Only show state field if config requires it

Previously, if Spree::Config[:address_requires_state] was set to false, the else branch of the if-else construct would wrongly be triggered, displaying the state field and potentially leading to errors. Now the state field is only shown if the config flag is actually set to true.