Sha256: c1a586d3d84d13aabb1005823ef2547447d9dec137e1001ef4c473420a5372ca

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

$("#modal-button").trigger("click");
row = "<tr><td><%= escape_javascript link_to resource.name, category_path(resource) %></td>";
row = row + "<td><%= escape_javascript link_to content_tag(:i, nil, :class => 'icon-pencil'), edit_category_path(category), :title => 'Editar' %> ";
row = row + "<%= escape_javascript link_to content_tag(:i, nil, :class => 'icon-remove'),[category], :title => 'Editar', :method => :delete %></td>";
row = row + "</tr>";
$("#<%= resource.model %>-table").append(row);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adminpanel-1.2.9 app/views/adminpanel/categories/create.js.erb
adminpanel-1.2.8 app/views/adminpanel/categories/create.js.erb
adminpanel-1.2.7 app/views/adminpanel/categories/create.js.erb