Sha256: 1d41d5d2add9d583c1d36da2adf79116e52f9ee87445d9ce49c32228d777375f
Contents?: true
Size: 1.2 KB
Versions: 4
Compression:
Stored size: 1.2 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-12.category_name =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' .btn-group.btn-group-sm{ rel: 'group' } %button{ class: 'btn btn-default dropdown-toggle', data: { toggle: 'dropdown' } } Options .caret %ul{ class: 'dropdown-menu', role: '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
4 entries across 4 versions & 1 rubygems