% content_for :javascript do %> $(function() { $(".new_group").validate({errorClass: "validation_error"}); }); $("#group__participants").fcbkcomplete({ json_url: "<%= contacts_path(:form => true, :format => :json) %>", cache: true, filter_hide: true, newel: false, height: 6 }); $("#group_actor_tag_list").fcbkcomplete({ json_url: "<%= tags_path(:format => :json) %>", cache: false, filter_case: true, filter_hide: true, newel: false, height: 6 }); <% end %> <%= location( link_to(t('group.other'), groups_path), link_to(t('group.new.action'), new_group_path) ) %>
<%= form_for @group do |f| %> <% if @group.errors.any? %>