search for: page_header_image

Displaying 1 result from an estimated 1 matches for "page_header_image".

2006 Jun 26
0
Using a partial multiple times in a view
...s = "uname -a" exec_cmd(cmd_sys) end private def exec_cmd(cmd) r=IO.popen(cmd, "r") @result = r.readlines($/) r.close_read return @result end heres the index view <div class="body_top"> <%= render_partial ''shared/page_header_image'', ''image'' => ''/images/system.gif'' %> <%= render_partial ''shared/page_menu'' %> </div> <!-- body_top --> <div class="body_content"> <h1>Overview</h1> <%= render_partial...