Skip to content

Instantly share code, notes, and snippets.

@owendall
Created January 12, 2010 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save owendall/274766 to your computer and use it in GitHub Desktop.
Save owendall/274766 to your computer and use it in GitHub Desktop.
<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>
@mdkarp
Copy link

mdkarp commented Mar 18, 2015

For those using new hobo, the tag name should now be "HoboFields::Types::EnumString"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment