<commit_before>= content_for :head_content do
  = render :partial => 'shared/headers/calendar'
  = javascript_include_tag 'instruments.js'

:javascript
  var events_path = "#{facility_instrument_reservations_path(current_facility, @instrument, :format => 'js')}";
  var minTime         = #{@instrument.first_available_hour};
  var maxTime         = #{@instrument.last_available_hour+1};

= content_for :breadcrumb do
  %ul.breadcrumb
    %li= link_to 'Home', facilities_path
    %li &raquo;
    %li= link_to @instrument.facility, facility_path(@instrument.facility)
    %li &raquo;
    %li #{@instrument} #{t('.title')}

= content_for :h1 do
  =h current_facility
  - button_text = current_user ? t('.place_reservation') : "#{t('pages.login')} & #{t('.place_reservation')}"
  = link_to button_text, facility_instrument_path(current_facility, @instrument), :class => 'btn'


%h2 #{@instrument} #{t('.title')}<commit_msg>#72857 Upgrade: Public calendar 'login and place reservation' button<commit_after>= content_for :head_content do
  = render :partial => 'shared/headers/calendar'
  = javascript_include_tag 'instruments.js'

:javascript
  var events_path = "#{facility_instrument_reservations_path(current_facility, @instrument, :format => 'js')}";
  var minTime         = #{@instrument.first_available_hour};
  var maxTime         = #{@instrument.last_available_hour+1};

= content_for :breadcrumb do
  %ul.breadcrumb
    %li= link_to 'Home', facilities_path
    %li &raquo;
    %li= link_to @instrument.facility, facility_path(@instrument.facility)
    %li &raquo;
    %li #{@instrument} #{t('.title')}

= content_for :h1 do
  = current_facility
  - button_text = current_user ? t('.place_reservation') : "#{t('pages.login')} & #{t('.place_reservation')}"
  = link_to button_text, facility_instrument_path(current_facility, @instrument), :class => ['btn', 'btn-primary', 'pull-right']


%h2 #{@instrument} #{t('.title')}
{'fraction_non_alphanumeric': 0.15600624024961, 'fraction_numerical': 0.005720228809152366, 'mean_word_length': 5.226537216828479, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1683247', 'n_tokens_mistral': 672, 'n_tokens_neox': 659, 'n_words': 128}