<commit_before><h1 class="row-fluid"><span class="icon review"></span>Review DMPs</h1>
<br/>
<strong>Perform Review </strong>


<div class="scrollable-container">
  <div class="scrollable-content">
    <%= render :partial => 'html_render', locals: {plan: @plan} %>
  </div>
  <div class="scrollable-bottom-handle ui-resizable-handle ui-resizable-s"></div>
</div>


<fieldset class="comments comment_box">
	<strong>Comments </strong>
	<%= render partial: "comments/index_reviewer_comments" %>
  <p><%= link_to "Add Comments", "#", data: {:comment_type => :reviewer}, :class => "btn add_comments_link" %></p>
  <div>
    <%= paginate @reviewer_comments %>
  </div>
</fieldset>

<% if @plan.requirements_template.review_type == :formal_review %>
  <fieldset class="spaced_below"">
    <label class ="control-label">Review Decision:</label>
    <%= link_to "Approve", "#", method: :get, :class => 'btn btn-success' %>
    <%= link_to "Reject", "#", data: {:comment_type => :reviewer}, :class => "btn btn-danger add_comments_link"  %>
  </fieldset>
<% elsif @plan.requirements_template.review_type == :informal_review %>
  <fieldset class="spaced_below"">
  <%= link_to "Plan Reviewed", "#", method: :get, :class => 'btn btn-success' %>
  </fieldset>
<% end %>
<div id = "comment_dialog_form"><commit_msg>Paths for Approve and Reject actions of a Plan<commit_after><h1 class="row-fluid"><span class="icon review"></span>Review DMPs</h1>
<br/>
<h3><strong>Perform Review </strong></h3>
<div class="scrollable-container">
  <div class="scrollable-content">
    <%= render :partial => 'html_render', locals: {plan: @plan} %>
  </div>
  <div class="scrollable-bottom-handle ui-resizable-handle ui-resizable-s"></div>
</div>

<br/>
<fieldset class="comment_box">
	<h3><strong>Comments </strong></h3>
  <div class="comments">
	 <%= render partial: "comments/index_reviewer_comments" %>
  </div>
  <p><%= link_to "Add Comments", "#", data: {:comment_type => :reviewer}, :class => "btn add_comments_link" %></p>
  <div>
    <%= paginate @reviewer_comments %>
  </div>
</fieldset>

<% if @plan.requirements_template.review_type == :formal_review %>
  <fieldset class="spaced_below">
    <label class ="control-label">Review Decision:</label>
    <%= link_to "Approve", plan_plan_states_approved_path(@plan), method: :post, :class => "btn btn-green" %>
    <%= link_to "Reject", plan_plan_states_rejected_path(@plan), method: :post, data: {:comment_type => :reviewer}, :class => "btn add_comments_link"  %>
  </fieldset>
<% elsif @plan.requirements_template.review_type == :informal_review %>
  <fieldset class="spaced_below">
  <%= link_to "Plan Reviewed", "#", method: :get, :class => 'btn btn-success' %>
  </fieldset>
<% end %>
<div id = "comment_dialog_form">
{'fraction_non_alphanumeric': 0.19970898508548562, 'fraction_numerical': 0.0029101491451436886, 'mean_word_length': 5.395348837209302, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 100, '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': '7306058', 'n_tokens_mistral': 1004, 'n_tokens_neox': 943, 'n_words': 199}