Unverified Commit c78dcea2 authored by seb-b's avatar seb-b Committed by GitHub
Browse files

Merge pull request #46 from jkevingutierrez/patch-2

Fix action button
parents 107b714b e7753501
...@@ -23,7 +23,8 @@ ...@@ -23,7 +23,8 @@
{% trans "Videos" as video_str %} {% trans "Videos" as video_str %}
{% trans "Add a video" as add_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" %} {% url "wagtailvideos:add_multiple" as add_link %}
{% include "wagtailadmin/shared/header.html" with title=video_str add_link="wagtailvideos:add_multiple" action_url=add_link icon="media" add_text=add_video_str action_text=add_video_str search_url="wagtailvideos:index" %}
<div class="nice-padding"> <div class="nice-padding">
{% if collections %} {% 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