Ticket #3758: formtools.patch
File formtools.patch, 1.2 KB (added by , 18 years ago) |
---|
-
django/contrib/formtools/templates/formtools/preview.html
7 7 <table> 8 8 {% for field in form %} 9 9 <tr> 10 <th>{{ field. verbose_name}}:</th>10 <th>{{ field.label }}:</th> 11 11 <td>{{ field.data|escape }}</td> 12 12 </tr> 13 13 {% endfor %} … … 30 30 {{ form }} 31 31 </table> 32 32 <input type="hidden" name="{{ stage_field }}" value="1" /> 33 <p><input type="submit" value=" Submit changes" /></p>33 <p><input type="submit" value="Preview" /></p> 34 34 </form> 35 35 36 36 {% endblock %} -
django/contrib/formtools/templates/formtools/form.html
9 9 {{ form }} 10 10 </table> 11 11 <input type="hidden" name="{{ stage_field }}" value="1" /> 12 <p><input type="submit" value=" Submit" /></p>12 <p><input type="submit" value="Preview" /></p> 13 13 </form> 14 14 15 15 {% endblock %}