Sha256: bf69df4b0063b60d3962c6df9a6ad6477d9a8e9015eccabbd37112b43fdeacef
Contents?: true
Size: 615 Bytes
Versions: 4
Compression:
Stored size: 615 Bytes
Contents
<% if @resource.errors.present? %> <% else %> var formContent = "<%= j render template: 'simple_admin/admin/system/entities/entity_fields/edit', locals: { entity_field: @resource } %>"; var fieldPresentation = '<%= @resource.presentation %>'; if(fieldPresentation == 'collection') { $('#index-fields .content').remove(); $('#index-fields').append(formContent); $( "#tabs" ).tabs( "option", "active", 0); } else if (fieldPresentation == 'form') { $('#form-fields .content').remove(); $('#form-fields').append(formContent); $( "#tabs" ).tabs( "option", "active", 1); } <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems