Sha256: 6d1fcfcdfdb5f2bd9cd27d863aeb0c906a90a5d494d443ae803c99c452e9b1bf
Contents?: true
Size: 534 Bytes
Versions: 6
Compression:
Stored size: 534 Bytes
Contents
$('#new-category').modal('toggle'); row = "<tr><td><%= escape_javascript link_to @resource_instance.name, category_path(@resource_instance) %></td>"; row = row + "<td><%= escape_javascript link_to content_tag(:i, nil, class: 'fa fa-pencil'), edit_category_path(@resource_instance), title: 'Editar' %> "; row = row + "<%= escape_javascript link_to content_tag(:i, nil, class: 'fa fa-remove'),[@resource_instance], title: 'Editar', method: :delete %></td>"; row = row + "</tr>"; $("#<%= @resource_instance.model %>-table").append(row);
Version data entries
6 entries across 6 versions & 1 rubygems