Enable the preview buttons on comment forms.
authorMatthijs Kooijman <matthijs@stdin.nl>
Fri, 31 Oct 2008 16:48:27 +0000 (17:48 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Fri, 31 Oct 2008 16:48:27 +0000 (17:48 +0100)
templates/influences/influence_comments_block.html

index 19695917e4363b80a8b1011d22c7c1b7e21fbb09..390fce03cb66eab7e94434a0c8f7cc9d20599ace 100644 (file)
                                        <table>
                                        {{ comment.reply_form.as_table }}
                                        </table>
                                        <table>
                                        {{ comment.reply_form.as_table }}
                                        </table>
-                                       <div><input type="submit" value="{% trans "Reply to this comment" %}" /></div>
+                                       <div>
+                    <input type="submit" value="{% trans "Reply to this comment" %}" />
+                    <input type="submit" name="preview" value="{% trans "Preview" %}" />
+                    </div>
                                </form>
                        </div>
         </div>
                                </form>
                        </div>
         </div>
@@ -46,7 +49,9 @@
     <table>
     {{ comment_form.as_table }}
     </table>
     <table>
     {{ comment_form.as_table }}
     </table>
-    <div><input type="submit" value="{% trans "Add comment" %}" /></div>
-    {# <input type="submit" name="preview" value="{% trans "Preview comment" %}" /></li> #}
+    <div>
+    <input type="submit" value="{% trans "Add comment" %}" />
+    <input type="submit" name="preview" value="{% trans "Preview" %}" />
+    </div>
 </form>
 </div>
 </form>
 </div>