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.2.4 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.2.3 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.2.2 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.2.1 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.2 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta60 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta59 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta58 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta57 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta56 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta55 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta54 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta53 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta52 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta51 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta50 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta49 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta48 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta47 app/views/my_forum/admin/forums/index.haml
my_forum-0.0.1.beta46 app/views/my_forum/admin/forums/index.haml