Source

article / article / templates / contact.html

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

{% block extra_head %}
{% endblock %}

{% block head_title %} Contact Form {% endblock %}

{% block body %}   

    {% load generic_flatblocks %}

<div id="content">

  <div class="container">
    <div class="row">
      <div class="span15">
        <ul class="breadc clearfix">
          <li><a href="/">Home</a></li>
          <li><a href="{% url contact %}">Contact</a></li>
        </ul>
        <h1 class="page-title">Contact</h1>
      </div>
    </div>
  </div>

  <!-- Content -->
  <div id="outer-wrapper">
  <div class="row">
    <div class="wrapper-box">
      <div class="span7">
        {% if success %}
            <span class="btn btn-success"><i class="icon-ok icon-white"></i> Your message has been sent!</span>
        {% else %}
	    <div><style>label {color: #000;}</style>
          <form action="{% url contact %}" method="post">
            {% csrf_token %}
            {{ form.as_p }}
            <input type="submit" value="Send Email" />
          </form>
        {% endif %}

        </div>
      </div>
    
    <!-- sidebar -->
    <div class="span5">
      <div class="sidebar">

        {% gblock 8 for "gblocks.TitleAndText" into "BlogFavorites" %}
        {{ BlogFavorites.text|safe }}

      </div>
    </div>
    </div> <!-- / wrapper-box -->
  </div><!-- / row -->
</div><!-- / outer-wrapper -->

</div> <!-- / content -->

	{% endblock %}