Sha256: 8a4e082b797870ae7a0f057c47e186768a6901f5b52aae7e6cee9e774653cb3b

Contents?: true

Size: 1.23 KB

Versions: 5

Compression:

Stored size: 1.23 KB

Contents

.tablescroll
  | #{@content}
  form action="#{develop_manage_path(params[:id])}" method="delete" id="details_form" remote="true"
    input type="hidden" value="#{RailsAdminContent::Client.table_name}" name="table_name"
    table.table
      thead
        tr#th-title
          th 
            input type="checkbox" class="checkbox toggle" id="toggle_check" checked=""
          - @fields.map do |element|
            th
              = element["Field"]
      - if @entries.present? && @entries.first
        tbody
          - @entries.each do |content|
            tr class="tr_#{content.first[1]}"
              td
                label
                  input type="checkbox" class="edit_checkbox" value="#{content.first[1]}" name="edit_id[]"
              - content.each do |key,value|
                td
                  span class="#{edited(key,value)}" data-field="#{key}" data-table="#{RailsAdminContent::Client.table_name}" data-title="#{value}" data-url="#{update_field_develop_manage_path(content.values.first)}"
                    - if key == "id"
                      = link_to value, edit_develop_manage_path(value,table_name: RailsAdminContent::Client.table_name), title: 'edit'
                    - else
                      = format(value)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_admin_content-0.2.4 app/views/rails_admin_content/develop/manages/show.html.slim
rails_admin_content-0.2.3 app/views/rails_admin_content/develop/manages/show.html.slim
rails_admin_content-0.2.2 app/views/rails_admin_content/develop/manages/show.html.slim
rails_admin_content-0.2.1 app/views/rails_admin_content/develop/manages/show.html.slim
rails_admin_content-0.2.0 app/views/rails_admin_content/develop/manages/show.html.slim