Sha256: 40949a1073b3e2bfcfbfd7ab4a26e805d98ee27a09b43ea4aab6c09a06cb0f6f

Contents?: true

Size: 691 Bytes

Versions: 34

Compression:

Stored size: 691 Bytes

Contents

<%= title [l(:label_custom_field_plural), custom_fields_path],
  [l(@custom_field.type_name), custom_fields_path(:tab => @custom_field.class.name)],
  l(:label_custom_field_new) %>

<%= labelled_form_for :custom_field, @custom_field, :url => custom_fields_path, :html => {:id => 'custom_field_form'} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= hidden_field_tag 'type', @custom_field.type %>
<% end %>

<%= javascript_tag do %>
$('#custom_field_field_format').change(function(){
  $.ajax({
    url: '<%= new_custom_field_path(:format => 'js') %>',
    type: 'get',
    data: $('#custom_field_form').serialize(),
    complete: toggleDisabledInit
  });
});
<% end %>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.0.38 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.0.37 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.1.11 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.1.10 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.0.36 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.0.34 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.1.09 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.1.07 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.1.06 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.1.05 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.1.04 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.1.03 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.0.33 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.1.02 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.1.01 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.0.29 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.0.28 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.0.27 spec/redmine/app/views/custom_fields/new.html.erb
redmine_extensions-0.0.24 spec/redmine/app/views/custom_fields/new.html.erb