view app/views/issue_categories/create.js.erb @ 1424:637ee26ae557 biblio_alt_search_auth

Removed labelled_form_for from edit view
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 02 Oct 2013 16:52:56 +0100
parents 433d4f72a19b
children
line wrap: on
line source
hideModal();
<% select = content_tag('select', content_tag('option') + options_from_collection_for_select(@project.issue_categories, 'id', 'name', @category.id), :id => 'issue_category_id', :name => 'issue[category_id]') %>
$('#issue_category_id').replaceWith('<%= escape_javascript(select) %>');