# HG changeset patch # User veltr # Date 1354113965 -3600 # Node ID aa85db611fb7fa05fec06f72daffedcbf36b325a # Parent 4360509f98e49d8c244e1935761fb083396495ca Modified template for CSRF/Creator fields diff -r 4360509f98e4 -r aa85db611fb7 src/hashcut/templates/bpi_mashup_edit.html --- a/src/hashcut/templates/bpi_mashup_edit.html Wed Nov 28 15:43:44 2012 +0100 +++ b/src/hashcut/templates/bpi_mashup_edit.html Wed Nov 28 15:46:05 2012 +0100 @@ -265,8 +265,7 @@ project: "{% url api_dispatch_list api_name='1.0' resource_name='projects' %}", segment: "{% url api_dispatch_list api_name='1.0' resource_name='segments' %}", ldt: "{% url projectjson_id id='' %}", - hashcut_page: "{% url mashup_hashcut branding=branding ldt_id='' %}", - csrf_token: "{{csrf_token}}" + hashcut_page: "{% url mashup_hashcut branding=branding ldt_id='' %}" }; $(function() { IriSP.video_url_transform = function(oldurl) { @@ -276,9 +275,9 @@ return newurl; }; var hashcut = IriSP.editor({ - //url: "data/bpidata.json", - //url: "data/moon-local.json", filter: { + creator: "{{creator}}", + csrf_token: "{{csrf_token}}", tags__icontains: "BPI" } });