Ticket #9100: comments-button-style.patch

File comments-button-style.patch, 1.2 KB (added by mordyovits, 7 years ago)

patch adding class attribute to preview templates

  • preview.html

    diff -r -u comments.old/preview.html comments/preview.html
    old new  
    1111      <h1>Preview your comment</h1>
    1212      <blockquote>{{ comment|escape|linebreaks }}</blockquote>
    1313      <p>
    14         and <input type="submit" name="submit" value="Post your comment" id="submit"> or make changes:
     14        and <input type="submit" name="submit" class="submit-post" value="Post your comment" id="submit"> or make changes:
    1515      </p>
    1616    {% endif %}
    1717    {% for field in form %}
  • reply_preview.html

    diff -r -u comments.old/reply_preview.html comments/reply_preview.html
    old new  
    1111      <h1>Preview your comment</h1>
    1212      <blockquote>{{ comment|escape|linebreaks }}</blockquote>
    1313      <p>
    14         and <input type="submit" name="submit" value="Post your comment" id="submit"> or make changes:
     14        and <input type="submit" name="submit" class="submit-post" value="Post your comment" id="submit"> or make changes:
    1515      </p>
    1616    {% endif %}
    1717    {% for field in form %}
Back to Top