Sha256: 8f5a639f06fb4575ac7e7c63e72bfd2220fc4d18c045865ae1e0d130fb85066a

Contents?: true

Size: 313 Bytes

Versions: 8

Compression:

Stored size: 313 Bytes

Contents

var $dialog = $('<div></div>')
    .html("<%%= escape_javascript(render('show'))%>")
    .dialog({
        autoOpen: false,
        title: '<%%= "#{t('models.<%= singular_table_name %>')} #{@<%= singular_table_name %>.try(:name) || @<%= singular_table_name %>.try(:id)}"%>'
    });
$dialog.dialog('open');

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
leonardo-1.8.3 lib/generators/erb/leosca/templates/show.js.erb
leonardo-1.8.2 lib/generators/erb/leosca/templates/show.js.erb
leonardo-1.8.1 lib/generators/erb/leosca/templates/show.js.erb
leonardo-1.8.0 lib/generators/erb/leosca/templates/show.js.erb
leonardo-1.7.2 lib/generators/erb/leosca/templates/show.js.erb
leonardo-1.7.1 lib/generators/erb/leosca/templates/show.js.erb
leonardo-1.7.0 lib/generators/erb/leosca/templates/show.js.erb
leonardo-1.6.1 lib/generators/erb/leosca/templates/show.js.erb