[Radiant] Mental Tags - FormTagHelper?

Ryan Heneise lists at artofmission.com
Tue Apr 10 17:57:12 CDT 2007


Is it possible to use FormTagHelper from within Radius tags?

I'm trying to do something like this:


module CommentTags
   include Radiant::Taggable
   include ActionView::Helpers::FormTagHelper

   tag "comment:text_field" do |tag|
     attrs = tag.attr.symbolize_keys
     text_field_tag(attrs[:name], attrs[:value]).inspect
   end

end

Thanks...



More information about the Radiant mailing list