Sha256: 2203fa8df0660ea45c3e19823e1dbb11e194811b2fd88cf1ccd0dff59d54bebd

Contents?: true

Size: 902 Bytes

Versions: 10

Compression:

Stored size: 902 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

10 entries across 10 versions & 1 rubygems

Version Path
optimacms-0.3.35 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.34 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.30 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.29 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.23 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.15 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.12 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.11 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.4 app/views/optimacms/admin/languages/index.html.haml
optimacms-0.3.3 app/views/optimacms/admin/languages/index.html.haml