Skip to content

Commit

Permalink
Use static helper to load forms.css
Browse files Browse the repository at this point in the history
  • Loading branch information
philippbosch committed Jan 31, 2016
1 parent 9d1f32d commit 404cb11
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion django_rq/templates/django_rq/clear_queue.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "admin/base_site.html" %}

{% load admin_static %}

{% block extrastyle %}
{{ block.super }}
<style>
Expand All @@ -9,7 +11,7 @@
width: 80%;
}
</style>
<link href="{{ STATIC_URL }}admin/css/forms.css" type="text/css" rel="stylesheet">
<link href="{% static 'admin/css/forms.css' %}" type="text/css" rel="stylesheet">
{% endblock %}

{% block breadcrumbs %}
Expand Down
4 changes: 3 additions & 1 deletion django_rq/templates/django_rq/confirm_action.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "admin/base_site.html" %}

{% load admin_static %}

{% block extrastyle %}
{{ block.super }}
<style>
Expand All @@ -9,7 +11,7 @@
width: 80%;
}
</style>
<link href="{{ STATIC_URL }}admin/css/forms.css" type="text/css" rel="stylesheet">
<link href="{% static 'admin/css/forms.css' %}" type="text/css" rel="stylesheet">
{% endblock %}

{% block breadcrumbs %}
Expand Down
4 changes: 3 additions & 1 deletion django_rq/templates/django_rq/delete_job.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "admin/base_site.html" %}

{% load admin_static %}

{% block extrastyle %}
{{ block.super }}
<style>
Expand All @@ -9,7 +11,7 @@
width: 80%;
}
</style>
<link href="{{ STATIC_URL }}admin/css/forms.css" type="text/css" rel="stylesheet">
<link href="{% static 'admin/css/forms.css' %}" type="text/css" rel="stylesheet">
{% endblock %}

{% block breadcrumbs %}
Expand Down
4 changes: 3 additions & 1 deletion django_rq/templates/django_rq/job_detail.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "admin/base_site.html" %}

{% load admin_static %}

{% block extrastyle %}
{{ block.super }}
<style>
Expand All @@ -11,7 +13,7 @@
padding-top: 3px;
}
</style>
<link href="{{ STATIC_URL }}admin/css/forms.css" type="text/css" rel="stylesheet">
<link href="{% static 'admin/css/forms.css' %}" type="text/css" rel="stylesheet">
{% endblock %}

{% block breadcrumbs %}
Expand Down

0 comments on commit 404cb11

Please sign in to comment.