Sha256: 81d0880655bb025f0058d64f452370595b0dab5a8ef82b0059feb996ab93ac44

Contents?: true

Size: 860 Bytes

Versions: 2

Compression:

Stored size: 860 Bytes

Contents

.page-header
  .row
    .col-md-7
      %h1
        Options
        %small
          <i class="ace-icon fa fa-angle-double-right"></i>
          add/edit options
    .col-md-5
      = link_to "new", new_admin_option_path, :class => "btn btn-sm btn-primary"

.filter
  = inline_filter_form_for(@filter)

.center-block
  = paginate @items
%br
%table.table.table-striped.table-bordered.table-hover
  %thead
    %tr
      %th
        = link_to_sortable_column :name, 'Name'
      %th Category
      %th Value
      %th Commands

  %tbody

    - @items.each do |r|
      %tr
        %td
          =link_to r.name, edit_admin_option_path(r)
          %br
          = r.title
        %td
          = r.category
        %td
          = r.value
        %td
          =link_to "Edit", edit_admin_option_path(r)
= paginate @items

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
optimacms_options-0.0.6 app/views/optimacms_options/admin/options/index.html.haml
optimacms_options-0.0.5 app/views/optimacms_options/admin/options/index.html.haml