Displaying 2 results from an estimated 2 matches for "markabyforrail".
Did you mean:
markabyforrails
2006 Jan 12
0
Markaby (Markup as Ruby) plugin
..."
link_to ''Back'', :action => ''list''
To install in your Rails app:
script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk
Many more examples and caveats can be looked over at the announcement:
http://redhanded.hobix.com/inspect/markabyForRails.html
Beaver tales,
_why
2007 Mar 15
1
Helper content_tag and Blocks
The content_tag helper allows you to do things like:
content_tag(:p, "Hello world!")
# => <p>Hello world!</p>
It can take in blocks, for functionality like this:
<% content_tag :div, :class => "strong" do -%>
Hello world!
<% end -%>
# => <div class="strong"><p>Hello world!</p></div>
Unfortunately blocks