Sha256: 8fec095a46fdaa0208556b79965878d98ece2cf9767fbc96980b9ddd908ce21a

Contents?: true

Size: 842 Bytes

Versions: 12

Compression:

Stored size: 842 Bytes

Contents

.page-header
  .row
    .col-md-6
      %h1
        Languages
        %small
          <i class="ace-icon fa fa-angle-double-right"></i>
          edit languages
    .col-md-4
      =link_to 'New', new_language_path(), :class=>'btn btn-sm btn-primary'


.filter
  = inline_filter_form_for(@filter)


%table.table.table-striped.table-bordered
  %tr
    %th= link_to_sortable_column :title, 'Title'
    %th= link_to_sortable_column :lang, 'Name'
    %th= link_to_sortable_column :pos, 'Pos'
    %th Commands

  - @items.each do |item|
    %tr
      %td
        =link_to item.title, edit_language_path(item)
      %td
        =item.lang
      %td
        =item.pos
      %td
        =link_to 'Edit', edit_language_path(item)
        =link_to 'Delete', language_path(item), :method => :delete, data: { confirm: 'Are you sure?' }

=paginate @items

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
optimacms-0.1.61 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.2 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.1 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.23 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.22 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.19 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.18 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.17 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.8 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.7 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.6 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.5 app/views/optimacms/admin/languages/index.html.haml