Skip to content

Commit

Permalink
Making it so that the base template provides a place for stylesheets …
Browse files Browse the repository at this point in the history
…and the edit template includes the stylesheet that it needs. Not the other way around.
  • Loading branch information
fitzgen committed Jan 20, 2012
1 parent 9240e8d commit 5f45449
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion wysiwyg_forms/templates/wysiwyg_forms/base.html
Expand Up @@ -2,7 +2,6 @@
<html>
<head>
{% block stylesheets %}
<link rel="stylesheet" href="{{ STATIC_URL }}wysiwyg_forms/css/dwf.css" />
{% endblock %}
</head>
<body>
Expand Down
4 changes: 4 additions & 0 deletions wysiwyg_forms/templates/wysiwyg_forms/edit.html
Expand Up @@ -5,6 +5,10 @@
</div>
{% endblock %}

{% block stylesheets %}
<link rel="stylesheet" href="{{ STATIC_URL }}wysiwyg_forms/css/dwf.css" />
{% endblock %}

{% block scripts %}

<script type="text/json" id="initial-form">{{ form.as_json|safe }}</script>
Expand Down

0 comments on commit 5f45449

Please sign in to comment.