Commit 2613094d authored by Nicholas Spagnoletti's avatar Nicholas Spagnoletti
Browse files

Updated header parameters to work with wagtailadmin shared header template

parent 062dbe4c
......@@ -22,8 +22,9 @@
{% block content %}
{% trans "Videos" as video_str %}
{% trans "Add a video" as add_video_str %}
{% include "wagtailadmin/shared/header.html" with title=video_str add_link="wagtailvideos:add_multiple" icon="media" add_text=add_video_str search_url="wagtailvideos:index" %}
{% trans "Add videos" as add_video_str %}
{% url "wagtailvideos:add_multiple" as action_url %}
{% include "wagtailadmin/shared/header.html" with title=video_str action_icon="media" action_text=add_video_str search_url="wagtailvideos:index" %}
<div class="nice-padding">
{% if collections %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment