On Sábado, 14 de enero de 2012 04:21:46 Adam Spiers escribió:
> Two of my ActiveScaffold-controlled models have fields which I have
> configured to be edited via <textarea>, and they are intended to receive
> Markdown-formatted text, so I wish to provide a link to
> http://daringfireball.net/projects/markdown/syntax at the top or bottom of
> the <textarea> in the #edit form.  How can I do this with ActiveScaffold?
>  I couldn't find anything in the docs; maybe I missed it.
> 
> Thanks,
> Adam

You could set description, something like
  conf.columns[:markdown_column].description = '<a 
href="http://daringfireball.net/projects/markdown/syntax"; 
target="_blank">markdown syntax</a>'.html_safe

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to