# HG changeset patch # User Brian Neal # Date 1478047455 18000 # Node ID 5a95815f147cd96313b9763c072af16545449a99 # Parent 97f92a589de794b824c07d8ee6d9ad2baf12279e Convert submit news pages to V3 design. diff -r 97f92a589de7 -r 5a95815f147c sg101/templates/news/submit_news.html --- a/sg101/templates/news/submit_news.html Mon Oct 31 20:39:21 2016 -0500 +++ b/sg101/templates/news/submit_news.html Tue Nov 01 19:44:15 2016 -0500 @@ -1,14 +1,7 @@ {% extends 'news/base.html' %} -{% load script_tags %} +{% load core_tags %} {% load static from staticfiles %} {% block title %}News: Submit News{% endblock %} -{% if add_form %} - {% block custom_js %} - {% script_tags 'jquery-ui markitup' %} - - {% endblock %} -{% endif %} -{% block submit-class %}class="active"{% endblock %} {% block news_content %}

Submit News

{% if add_form %} @@ -22,25 +15,50 @@
  • Please spend some time on your grammar and spelling. Minor issues will be corrected by the staff, but major problems may cause a delay in publishing or even cause your item to be rejected.
  • -
  • To add images to your news item, use the forms at the bottom of the - page.
  • Thank you for contributing content to SG101!

    {% csrf_token %} - - {{ add_form.as_table }} - -
      -  Cancel
    + {{ add_form.non_field_errors }} + {{ add_form.title.errors }} +
    +
    + +
    +
    + {{ add_form.category.errors }} +
    +
    + +
    +
    + {% post_box add_form.short_markup %} + Cancel +
    - {% include 'user_photos/image_forms.html' %} + {% include 'core/v3/post_box_modals.html' %} {% else %} -

    Thank you for submitting a news item!

    -

    Your news item has been submitted for review to the site staff. Your item may be edited for content, - grammar, or spelling. If there are any problems or questions, you will receive an email or private message. - Thank you for contributing to the site!

    +
    +
    Thank you for submitting a news item!
    +

    + Your news item has been submitted for review to the site staff. Your + item may be edited for content, grammar, or spelling. If there are any + problems or questions, you will receive an email or private message. + Thank you for contributing to the site! +

    +
    {% endif %} -
    {% endblock %} +{% block custom_js %} + {% if add_form %} + + + {% endif %} +{% endblock %}