I’m playing around with Markaby and I decided to write a little blog
I’m running into issues with forms however. If I use form_for the output
the form gets swallowed. For example:
form_for :article, @article do |f|
gets rendered as an empty form tag. The above code of course works fine
an rhtml file (with appropriate erb tags). Oddly form_tag works fine in
form_tag :action => ‘create’
text_field ‘article’, ‘title’
check_box ‘article’, ‘published’
text_area ‘article’, ‘description’
text_field ‘article’, ‘pub_date’
text_area ‘article’, ‘content’
Renders the form just fine.
Anyone have thoughts on why this would be? I really like Markaby, and I
prefer the form_for syntax, so ideally I would like to use both. Any
would be appreciated.