I have this in pretty much every application.dryml:

<def tag="hidden-field">
  <%= hidden_field_tag(param_name_for_this, this) %>
</def>

Perhaps it should be added to Rapid, but it's a common enough pattern
that I'm sure it'd overlap with somebody's own tag somewhere.

I never bother putting it inside the hidden-fields div.   Sounds like
the right thing to do in theory, but...

Bryan


On Mon, Jul 11, 2011 at 11:59 AM, Bob Sleys <[email protected]> wrote:
> Is there a hobo way to add to a forms hidden field list?
> By default all hobo forms have a hidden-fields div with authenticity_token
> and page_path in it. I need to add a custom hidden field to a form and was
> thinking this would be a good place to put it but don't see a good way to do
> it.
> Bob
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/EK0KoYJpIe8J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to