summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/index.html.haml
blob: 23a503d80cfaab2fcf2a88327da63078dab7ad40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%h1 tickets index

Create a 
= link_to "new ticket", new_ticket_path

= #%div{"data-pjax-container" => ""} # not sure how to get this working right
.row
  .span2
    - if admin?
      = render 'tickets/admin-nav'
  .span10
    = render 'tickets/table-nav'
    %table.table-striped.table-bordered.table-hover{:style => "width:100%;"}
      %tbody
        = render @tickets.all
    = paginate @tickets