On Tue, Aug 04, 2020 at 12:20:49PM -0700, Telly George wrote:
> File name: new_page.html
> Comments: This is the page with the controls where I cannot read the 
> information typed by the user
> 
> {% extends "encyclopedia/layout.html" %}
> 
> {% block title %}
>     Encyclopedia
> {% endblock %}
> 
> {% block body %}
>     <h1>New Wiki Entry</h1>
>         <label>Entry Title: </label> <input type="text" name="title_box" 
> id="title_box"><br>
>         <label>Markdown Text for entry:</label><br> 
> <textarea name="entry_details" id="entry_details" rows="3" 
> cols="10"></textarea><br> 
>         <button type ="button" class="btn btn-primary btn-lg"formaction = 
> "{% url 'add_entry' %}"> Add Entry</button>
> <a href = "{% url 'add_entry' %}"> Add Entry </a>
> {% endblock %}
> 

Looks like you need to wrap your label, textarea and button fields in
<form></form>.  Then you may need to change your button type to
"submit".

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20200811185322.GK22589%40fattuba.com.

Reply via email to