<commit_before>%h1 Listing reservations

%table
  %tr
    %th User
    %th Book
    %th Reserve at
    %th Fuffiled
    %th Expires at
    %th
    %th
    %th

  - @reservations.each do |reservation|
    %tr
      %td= reservation.user
      %td= reservation.book
      %td= reservation.reserve_at
      %td= reservation.fuffiled
      %td= reservation.expires_at
      %td= link_to 'Show', reservation
      %td= link_to 'Edit', edit_reservation_path(reservation)
      %td= link_to 'Destroy', reservation, :confirm => 'Are you sure?', :method => :delete

%br

= link_to 'New Reservation', new_reservation_path<commit_msg>Makes reservation view prettyer<commit_after>%h3 Current Reservations

%table.table.table-striped
  %tr
    %th id
    %th User
    %th Book
    %th Actions
    

  - @reservations.each do |reservation|
    %tr
      %td= reservation.id
      %td 
        = reservation.user.user_name
      %td
        = reservation.book.title
      %td
        = link_to "Delete", reservation, method: :delete, class: "btn btn-danger"

%br

= link_to 'New Reservation', new_reservation_path
{'fraction_non_alphanumeric': 0.10655737704918032, 'fraction_numerical': 0.0018214936247723133, 'mean_word_length': 2.7003367003367003, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7305069', 'n_tokens_mistral': 386, 'n_tokens_neox': 368, 'n_words': 96}