Sha256: 17624177725955a21729668eedb810944ae0f8f56b16af985cb7031452a1bdcb

Contents?: true

Size: 845 Bytes

Versions: 3

Compression:

Stored size: 845 Bytes

Contents

- @page_title = t('snippet_files') + ' - ' + default_page_title

.outset
  = render_region :top
  %table.index#snippet_files
    %thead
      %tr
        - render_region :thead do |thead|
          - thead.title_header do
            %th.name= t('snippet')
    %tbody
      - if @snippet_files.any?
        - @snippet_files.each do |snippet|
          %tr[snippet]
            - render_region :tbody, :locals => {:snippet => snippet} do |tbody|
              - tbody.title_cell do
                %td.name
                  = link_to image('snippet', :alt => '') + ' ' + snippet.name, admin_snippet_file_url(snippet)
      - else
        %tr
          %td.empty{:colspan => admin.snippet.index.tbody.length}= t('no_snippet_files')

- render_region :bottom do |bottom|
  - bottom.new_button do
    #actions
      = pagination_for(@snippet_files)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-snippets-extension-1.1.1 app/views/admin/snippet_files/index.html.haml
radiant-snippets-extension-1.1.0 app/views/admin/snippet_files/index.html.haml
radiant-snippets-extension-1.1.0.alpha app/views/admin/snippet_files/index.html.haml