Hi guys, 

I need a view helper, which takes an integer (depth_level) as its argument 
and produce some kind of HTML like this...

<div class="box">
  <h3>heading</h3>

  <div class="box">
    <h3>heading</h3>

    <div class="box">
      <h3>heading</h3>
    
      /* can have more levels of nesting here */

    </div>

  </div>

</div>

The above HTML will be produced with depth_level = 3

Thanks guys!
Jim

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rails-oceania/-/2mprng7HXygJ.
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/rails-oceania?hl=en.

Reply via email to