foodsoft/app/views/stockit/new.js.erb

9 lines
186 B
Text

$('#modalContainer').html('<%= j(render(
:partial => "form",
:locals => {
:title => t('.title'),
:stock_article => @stock_article
}
)) %>');
$('#modalContainer').modal();