Here is the contacts.html page

{% extends "base.html" %}

{% block fulltitle %}Contact me!{% block title %}{% endblock %}{%
endblock %}

{% block header %}
<h3> header of course</h3>
{% endblock %}

{% block extrahead %}
{% endblock %}

{% block content-wrap %}
        <div id="contact_wrap">

        <div id="contact" class="clearfix">
            <div id="c_form">
                <br /><br />
                <form name="theform" action="." method="post"
id="theform">
                    <div id="name_email">

                        <label id="id_name">Name:</label>
                        <input type="text" name="name" value=""
id="name" />
                        <label id="id_email">Email:</label>
                        <input type="text" name="email" value=""
id="Email" />
                    </div><!-- end name_email -->
                    <div id="message">
                        <label id="id_message">Message:</label>
                        <textarea name="message" rows="8" cols="37"></
textarea>

                    </div><!-- end message -->
                    <div id="submit">
                        <input type="image" src="http://path/to/
submitbutton.png"
onclick="YY_checkform('theform','name','#q','0','Field \'name\' is
empty.','Email','#S','2','Field \'Email\' appears not to be
valid.','message','2','1','Field \'message\' is empty.');return
document.MM_returnValue" />
                    </div><!-- end submit -->
                    <input class="hidden" type="hidden" name="topic"
value="Home : Contact Form Submission" id="subject" />
                </form>

            </div><!-- end c_form -->
        </div><!-- end contact -->

    </div><!-- end contact_wrap -->

{% endblock %}


########### thankyou.html #############

On Dec 5, 10:32 am, mike <[EMAIL PROTECTED]> wrote:
> I have been trying to implement the contact form from the Django
> Snippets page found here.
>
> http://www.djangosnippets.org/snippets/261/ I'm able to make it all
> work together, but the contacts.html page, is blank unless i remove
> the    {% extends "base.html" %}  part.  After removing it I can see
> the input boxes, but the page is really ugly.   Anyone know why
> importing this template erases everything below it? any help would be
> appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to