<commit_before>= link_to catalog_path(@id), {:title => @ti} do
  %i.icon-circle-arrow-left
  Back to item
%h1.request-type Request a recall
%div.row
  %div.span8.well
    %h2.item-title-request.blacklight-title_display=@ti
    %div.request-author=@au
    %form#req.form-horizontal{:method => 'post', :action => make_voyager_request_path}
      %input(type="hidden" name="bid" value="#{@id}" id="bid")
      %input(type="hidden" name="request_action" value="recall" id="request_action")
      = render :partial => 'shared/reqac'
      = render :partial => 'shared/reqpu'
      .control-group
        %label.control-label{:for => 'reqcomments'} Notes to library staff:
        .controls
          %textarea#reqcomments{:name => 'reqcomments'}
      .control-group
        %label.control-label Delivery time:
        .controls.delivery-estimate 
          Approximately
          =@estimate 
          days
      .control-group
        .controls.clearfix
          %input#request-submit.btn.btn-danger.pull-left(type="submit" name="submit" value="Submit recall request")
          %div.accordion-heading.request-options.form-alternative-action.pull-left
            or
            =link_to 'Other options', '#collapseOne', {:data => {:toggle => 'collapse', :parent => '#accordion2'}}
        .controls<commit_msg>add volume selection to recall form<commit_after>- @selected_volume = params[:volume]
= link_to catalog_path(@id), {:title => @ti} do
  %i.icon-circle-arrow-left
  Back to item
%h1.request-type Request a recall
%div.row
  %div.span8.well
    %h2.item-title-request.blacklight-title_display=@ti
    %div.request-author=@au
    %form#req.form-horizontal{:method => 'post', :action => make_voyager_request_path}
      -if @volumes.present?
        .control-group
          %label.control-label{:for => "volume-selection"} 
            Current Volume: 
          .controls.delivery-estimate
            = render :partial =>'shared/volume_select'
      %input(type="hidden" name="bid" value="#{@id}" id="bid")
      %input(type="hidden" name="request_action" value="recall" id="request_action")
      = render :partial => 'shared/reqac'
      = render :partial => 'shared/reqpu'
      .control-group
        %label.control-label{:for => 'reqcomments'} Notes to library staff:
        .controls
          %textarea#reqcomments{:name => 'reqcomments'}
      .control-group
        %label.control-label Delivery time:
        .controls.delivery-estimate 
          Approximately
          =@estimate 
          days
      .control-group
        .controls.clearfix
          %input#request-submit.btn.btn-danger.pull-left(type="submit" name="submit" value="Submit recall request")
          %div.accordion-heading.request-options.form-alternative-action.pull-left
            or
            =link_to 'Other options', '#collapseOne', {:data => {:toggle => 'collapse', :parent => '#accordion2'}}
        .controls
{'fraction_non_alphanumeric': 0.14766483516483517, 'fraction_numerical': 0.0027472527472527475, 'mean_word_length': 2.858278145695364, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, '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': '3226493', 'n_tokens_mistral': 900, 'n_tokens_neox': 874, 'n_words': 163}