aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
authorsuweller <me@suweller.com>2010-11-21 12:24:07 +0100
committersuweller <me@suweller.com>2010-11-21 12:24:07 +0100
commit5cdb29dfe832f30f96f2459d1092ba56c6b3e862 (patch)
tree8edc13d079e961d1d0a438803d31c38dad5dae5a /app/views/admin
parent178d782743347993cfd13f5d15af6d391b11dafc (diff)
downloadrefinerycms-blog-5cdb29dfe832f30f96f2459d1092ba56c6b3e862.tar.gz
refinerycms-blog-5cdb29dfe832f30f96f2459d1092ba56c6b3e862.tar.bz2
refinerycms-blog-5cdb29dfe832f30f96f2459d1092ba56c6b3e862.zip
javascript should be in javascripts section
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/blog/posts/_form.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/admin/blog/posts/_form.html.erb b/app/views/admin/blog/posts/_form.html.erb
index 941dd03..692dafa 100644
--- a/app/views/admin/blog/posts/_form.html.erb
+++ b/app/views/admin/blog/posts/_form.html.erb
@@ -65,6 +65,8 @@
padding: 0px;
}
</style>
+<% end %>
+<% content_for :javascripts do %>
<script type='text/javascript'>
$(document).ready(function(){
$('#toggle_advanced_options').click(function(e){
@@ -78,4 +80,4 @@
});
});
</script>
-<% end %> \ No newline at end of file
+<% end %>