Mercurial > hg > soundsoftware-site
comparison .svn/pristine/21/213447b90bcf49e61197299b7ccf1319e4dafbe5.svn-base @ 1517:dffacf8a6908 redmine-2.5
Update to Redmine SVN revision 13367 on 2.5-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:29:00 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1516:b450a9d58aed | 1517:dffacf8a6908 |
---|---|
1 <%= title [l(:label_custom_field_plural), custom_fields_path], | |
2 [l(@custom_field.type_name), custom_fields_path(:tab => @custom_field.class.name)], | |
3 l(:label_custom_field_new) %> | |
4 | |
5 <%= labelled_form_for :custom_field, @custom_field, :url => custom_fields_path, :html => {:id => 'custom_field_form'} do |f| %> | |
6 <%= render :partial => 'form', :locals => { :f => f } %> | |
7 <%= hidden_field_tag 'type', @custom_field.type %> | |
8 <% end %> | |
9 | |
10 <%= javascript_tag do %> | |
11 $('#custom_field_field_format').change(function(){ | |
12 $.ajax({ | |
13 url: '<%= new_custom_field_path(:format => 'js') %>', | |
14 type: 'get', | |
15 data: $('#custom_field_form').serialize(), | |
16 complete: toggleDisabledInit | |
17 }); | |
18 }); | |
19 <% end %> |