Displaying 3 results from an estimated 3 matches for "site_header".
2012 Nov 16
0
With streaming on, closed client connections cause Fatal Broken Pipe errors
...g line?
thanks
Dan
Error follows:
FATAL skweb( Rails::ActionController): ActionView::Template::Error
(Broken pipe):
44: <%= shared_component(''site_header'', @page.site_header) %>
45: <%= shared_component(@page.site_navigation.component_name,
@page.site_navigation) %>...
2012 Dec 17
11
[Puppet Upgrade] Puppet agent does not work
...cktrace td.index {
font-weight: bold;
}
#site_footer {
border-top: solid 1px black;
margin-top: 1em;
padding-top: 1em;
font-size: small;
color: #777777;
}
#site_footer a {
color: #65498e;
}
#site_footer a:hover {
color: #9681d9;
}
#site_header .corporate_identity {
display: none;
}
</style>
<link rel="stylesheet" type="text/css" href="
http://www.modrails.com/error_pages/1.0/error_page.css">
</head>
<body>
<div id="site_container">...
2006 Jun 24
3
Staying DRY -- can views share partials?
Let''s say I have a "main" controller/view and a "sub" controller/view.
If I have defined a partial in "main" for the site header
(_site_header.rhtml) can I share it with "sub" or does "sub" have to
duplicate it, use a symbolic link to the file, or convert the cool
partial into an ugly helper?
It would be nice to have a shared placed for partials. Similar to
app/helper/application.rb.
I know I could use a helper, b...