Sha256: 92408f59078e18b0d40eecbd08d6c9fe2feb70df1b7f36ebfb71d1805dd0e721

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

.nav#nav
  | #{@content}
  .details#grid_search
    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#edit_tables.table-bordered.table.table-hover
        thead
          tr#th-title
            th Index
            - @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

4 entries across 4 versions & 1 rubygems

Version Path
rails_admin_content-0.1.3 app/views/rails_admin_content/develop/manages/show.html.slim
rails_admin_content-0.1.2 app/views/rails_admin_content/develop/manages/show.html.slim
rails_admin_content-0.1.1 app/views/rails_admin_content/develop/manages/show.html.slim
rails_admin_content-0.1.0 app/views/rails_admin_content/develop/manages/show.html.slim