Remove js from html

This commit is contained in:
chris2tof committed 2011-12-05 10:36:25 +08:00
1 parent 962bf03af2
commit 26b49dcf02
25 files changed
+101 -1206

No files matched your search

+1 -8
View File
@@ -36,12 +36,5 @@
</div>
<% content_for :page_specific_javascript do %>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$('#user_active_role').change(function(){
$('#role_models .roles_block').hide();
$('#'+this.value+'_block').toggle();
});
});
</script>
<%= javascript_include_tag "user_form" %>
<% end -%>