Sha256: bcd92b6e57ff21a36ad7f17b1c2a0fb8cb23c7b763bf3259238bb13ae0d9443b

Contents?: true

Size: 877 Bytes

Versions: 12

Compression:

Stored size: 877 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.2.26 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.25 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.24 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.21 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.20 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.16 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.15 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.14 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.13 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.12 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.11 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.2.9 app/views/optimacms/admin/languages/index.html.haml