Sha256: e3fcba936bdce36355e965927eda78847881900a96a768cc585413d8305a31ae

Contents?: true

Size: 571 Bytes

Versions: 2

Compression:

Stored size: 571 Bytes

Contents

<%
  output = {
    :iTotalDisplayRecords => @forms.total_entries || 0,
    :aaData => @forms.collect do |form|
      [
        content_tag(:div, '', :id => polymorphic_html_id(form)),
        form.name,
        form.model,
        link_to('', :url => [forgeos_commerce, :admin, form],
          :remote => true,
          :method => :delete,
          :confirm => I18n.t('form.destroy.confirm').capitalize,
          :class => 'small-icons destroy-link',
          :id => polymorphic_html_id(form, 'destroy')
        )
      ]
    end
  }
-%>
<%= raw output.to_json -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 app/views/admin/forms/index.json.erb
forgeos_commerce-1.9.0 app/views/admin/forms/index.json.erb