Sha256: a61fda7de60ba48dc9ce2e05f3cdddfd70fa69f746ff1b7978ef1ef9f844da8b

Contents?: true

Size: 1.41 KB

Versions: 60

Compression:

Stored size: 1.41 KB

Contents

.page-header
  %h2= t('.forums')

= link_to t('.create_category'), new_admin_category_path, class: 'btn btn-primary btn-sm'



.container-fluid
  - @categories.each do |category|
    .row.category_box
      .col-md-10.category_name
        =category.name
      .col-md-2.category_name
        .pull-right.btn-group.btn-group-sm{ rel: 'group' }
          = link_to t('.create_forum'), new_admin_category_forum_path(category), class: 'btn btn-default'
        .pull-right.btn-group.btn-group-sm{ rel: 'group' }
          = link_to t('.edit'), edit_admin_category_path(category), class: 'btn btn-default'

        -# .btn-group.btn-group-sm
        -#   %button{ class: 'btn btn-default dropdown-toggle', data: { toggle: 'dropdown', aria_haspopup: true, aria_expanded: false } }
        -#     Options
        -#     %span.caret
        -#   %ul{ class: 'dropdown-menu'}
        -#     %li= link_to t('.edit'), edit_admin_category_path(category)
        -#     %li= link_to t('.delete'), '#'









      .row.category_forums
        .col-md-12
          = t('.no_forums') if category.forums.blank?
          -category.forums.each do |forum|
            .row
              .col-md-12
                %strong=forum.name
                %br
                =forum.description

                .pull-right
                  =link_to '', '#', class: 'glyphicon glyphicon-edit'
                  =link_to '', '#', class: 'glyphicon glyphicon-trash'

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta25 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta24 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta23 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta22 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta21 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta20 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta19 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta18 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta17 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta16 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta15 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta14 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta13 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta12 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta11 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta10 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta9 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta8 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta7 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta5 app/views/my_forum/admin/forums/index.haml