Skip to content

Instantly share code, notes, and snippets.

@SmileyChris
Forked from cmelbye/gist:711068
Created November 23, 2010 01:19
Show Gist options
  • Save SmileyChris/711075 to your computer and use it in GitHub Desktop.
Save SmileyChris/711075 to your computer and use it in GitHub Desktop.
{% if user %}
<div class="left_column">
{% endif %}
{% block content %}
{% endblock %}
{% if user %}
</div>
<div class="right_column">
<div class="sidebar_header user_info">
<h2>Welcome.</h2>
</div>
<div class="sidebar_content">
<div class="blog_title"><%= current_user.blog_title %></div>
<ul>
<li><a href="/dashboard">dashboard</a></li>
<li><a href="http://foo.squidd.me">visit your blog</a></li>
<li><a href="/settings">settings</a></li>
<li><a href="/logout">log out</a></li>
</ul>
<div class="blog_title">Followers</div>
<ul>
<li>you have <a href="#">0 followers</a></li>
<il>you're following <a href="#">0 people</a></li>
</ul>
</div>
</div>
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment