Created
January 1, 2015 20:58
-
-
Save joncalhoun/f7def41760702d3fc209 to your computer and use it in GitHub Desktop.
Quick demo of country select in a user.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group #{attribute.errrors? ? "has-error" : ""}"> | |
<label for="#{attribute.form_id}"> | |
<%= attribute.label_name %> | |
</label> | |
<%= country_select("user", "country", selected: attribute.value) %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment