<commit_before>doctype html
html lang="en"
  head
    meta charset="utf-8"
    meta name="viewport" content="width=device-width, initial-scale=1.0"
    title
      = content_for?(:title) ? yield(:title) : "Freeshelf"
    = stylesheet_link_tag "application"
    = javascript_include_tag "vendor/modernizr"
    = csrf_meta_tags

  body
    .row
      .small-12.columns
        h1.logo
          = link_to "Freeshelf", root_path
    .row
      .medium-2.columns
        ul.main-nav
          li = link_to "Home", root_path
          li = link_to "Add a Book", new_book_path
          li.divider
          - if current_user
            li = link_to "Logged in as #{current_user.name}", "#"
            li = link_to "Logout", logout_path, :method => :delete
          - else
            li = link_to "Sign up", signup_path
            li = link_to "Login", login_path
          = content_for(:nav)
      .medium-10.columns
        .row
          = alert_box alert, "alert"
          = alert_box notice
          = yield
<commit_msg>Added dropdown sort button withs remote sort links to layout<commit_after>doctype html
html lang="en"
  head
    meta charset="utf-8"
    meta name="viewport" content="width=device-width, initial-scale=1.0"
    title
      = content_for?(:title) ? yield(:title) : "Freeshelf"
    = stylesheet_link_tag "application"
    = javascript_include_tag "vendor/modernizr"
    = csrf_meta_tags

  body
    .row
      .small-12.columns
        h1.logo
          = link_to "Freeshelf", root_path
    .row
      .medium-2.columns
        ul.main-nav
          li = link_to "Home", root_path
          li = link_to "Add a Book", new_book_path
          li.divider
          - if current_user
            li = link_to "Logged in as #{current_user.name}", "#"
            li = link_to "Logout", logout_path, :method => :delete
          - else
            li = link_to "Sign up", signup_path
            li = link_to "Login", login_path
          = content_for(:nav)
        = link_to 'Sort By', '#', :data => {dropdown: 'drop1'}, :class => 'button tiny dropdown'
        ul#drop1.f-dropdown data-dropdown-content=""
          li.sort_link = link_to '# of Favorites', '#', :remote => true
          li.sort_link = link_to 'Alphabetically', '#', :remote => true
          li.sort_link = link_to 'Date Added', '#', :remote => true
          li.sort_link = link_to 'Publication Date', '#', :remote => true
      .medium-10.columns
        .row
          = alert_box alert, "alert"
          = alert_box notice
          = yield

{'fraction_non_alphanumeric': 0.11785573512022074, 'fraction_numerical': 0.007883326763894364, 'mean_word_length': 2.057831325301205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5987148', 'n_tokens_mistral': 824, 'n_tokens_neox': 802, 'n_words': 192}