Sha256: d0d337ab2e7db6ba9e5801e0e72039b3b4554e963653ec094adf0d018abb982d

Contents?: true

Size: 867 Bytes

Versions: 7

Compression:

Stored size: 867 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, theme: 'bootstrap4'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
optimacms-0.4.3 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.4.2 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.9 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.8 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.7 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.6 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.5 app/views/optimacms/admin/languages/index.html.haml