Sha256: 191553f3917967f55abf90fab7f18e2a8774a04277f3f06233d127b72d74f5f8
Contents?: true
Size: 522 Bytes
Versions: 21
Compression:
Stored size: 522 Bytes
Contents
<h3 class='sidebar-title'><%= class_name %></h3> <div class='<%= file_name.sub(/_sidebar/, '') %>'-body> <p>Replace this text with the real sidebar view code</p> <p>You should be able to access <code>request</code>, <code>controller</code>, <code>params</code> etc, as well as local variables set from the sidebar settings. So if you've done <code>setting :title, 'Whatever'</code>, you can use <%= title %> to get at its value. The current sidebar object is accessible as <code>sidebar</code>.</p> </div>
Version data entries
21 entries across 21 versions & 1 rubygems