Commits

Greg Newman  committed 3d4b566

adding corkboard form

  • Participants
  • Parent commits b3b904e

Comments (0)

Files changed (1)

File loupe/templates/loupe/project_detail.html

         <li><a href="{% url corkboard_detail cork.slug %}">{{ cork.title }}</a></li>
         {% endfor %}
     </ul>
+
+    {% if user.is_authenticated %}
+    <h2>Add New Corkboard</h2>
+    <form action="" method="POST">
+        <table>
+            {{ form.as_table }}
+            <tr>
+                <td>
+                    <input type="submit" name="submit" value="Create" />
+                </td>
+            </tr>
+        </table>
+    </form>
+    {% endif %}
 {% endblock %}