app/views/hocus_pocus/generator/index.html.erb in hocus_pocus-0.0.1 vs app/views/hocus_pocus/generator/index.html.erb in hocus_pocus-0.1.0
- old
+ new
@@ -1,9 +1,9 @@
<html>
<head>
<title>generator</title>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
- <script src="/hocus_pocus/javascripts/rails.js" type="text/javascript"></script>
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
+ <script src="/assets/jquery_ujs.js" type="text/javascript"></script>
<script type="text/javascript">
$('#add_attr_type').live('click', function() {
var i = $('#attr_type input').length;
$('#attr_type').append('<%= escape_javascript text_field_tag('attr[@]', '', :style => 'width: 50px') %>:<%= escape_javascript(type_select 'type[@]', :class => 'type') %>'.replace(/@/g, i));
$('#attr_' + i).focus();