UNPKG

apostrophe-rss

Version:

Adds an RSS feed widget to the Apostrophe content management system

25 lines (20 loc) 568 B
{% extends "baseWidgetEditor.html" %} {% block modalClass %} {{super()}} apos-rss-editor {% endblock %} {% block modalLabel %} {{ __('Select RSS Feed') }} {% endblock %} {% block modalInstructions %} <p>{{ __('Paste an RSS feed URL.')}}</p> {% endblock %} {% block formBody %} <label>{{ __('Feed:') }} <input name="feed" class="apos-rss-feed" /></label> <label>{{ __('Limit:') }} <select name="limit"> <option>1</option> <option>3</option> <option>5</option> <option>10</option> <option>20</option> </select></label> {% endblock %}