Source

beerfingers / bf-templates / profiles / profile_detail.html

Full commit
{% extends "index.html" %}

{% block title %} Profile Detail {% endblock %}

{% block content %}
	<h3>Profile Detail</h3>

	<p><a href="/profiles/edit/">Edit My Profile</a></p>
	{% if user %}
		<p>Username: {{ user.username }}</p>
		<p>Name: {{ user.first_name }} {{ user.last_name }}</p>
	{% endif %}
	{% if profile %}
		<p>Location: {{ profile.location }}</p>
	{% endif %}
            <p> Yes, this page needs more love.</p>

{% endblock %}

"""
<p>Email: {{ user.email }}</p>
<p>Cell: {% if profile.cell1 %}{{ profile.cell1 }} {% else %} <strong>Add your Cell Phone</strong>{% endif %}</p>
<p>Newletter: {% if profile.newsletter %}Subscribed {% else %} Not Subscribed{% endif %}</p>
<p>Public Profile: {% if profile.public_profile %} Yes {% else %} No{% endif %}</p>
<a href="#">What is a public profile?</a>
"""