Created
January 12, 2010 00:49
-
-
Save owendall/274766 to your computer and use it in GitHub Desktop.
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
<include src="rapid" plugin="hobo"/> | |
<include src="taglibs/auto/rapid/cards"/> | |
<include src="taglibs/auto/rapid/pages"/> | |
<include src="taglibs/auto/rapid/forms"/> | |
<set-theme name="clean"/> | |
<def tag="app-name">My First App</def> | |
<-- The following code will change the default from titleize = true | |
for the drop down items in an enum_string field --> | |
<extend tag="input" for="HoboFields::EnumString" attrs="titleize"> | |
<% titleize = false if titleize.nil? -%> | |
<old-input merge titleize="&titleize"/> | |
</extend> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For those using new hobo, the tag name should now be "HoboFields::Types::EnumString"