<commit_before><div id="main-content" class="container">
  <%- if @operator %>
  <%= raw t('static.feedback.operator_feedback', :operator => @operator.name) %>
  <%- elsif @location %>
  <%= raw t('static.feedback.location_feedback', :location => name_in_sentence(@location)) %>
  <%- else %>
	<%= raw t('static.feedback.please_give_feedback', :email => mail_to(@email)) %>
	<%- end %>
	<div class='feedback-form'>
	  <%- form_for(@feedback, :url => feedback_path) do |form|  %>
	    <div class='fieldset'>

        <%- if current_user %>
            <%= form.hidden_field :name, :value => current_user.name %>
            <%= form.hidden_field :email, :value => current_user.email %>
        <%- else %>
	        <div class='form-field'>
  	        <%= form.label :name  %>
  	        <%= raw form.text_field :name %>
  	        <%- if @feedback.errors.on(:name) %>
  	          <div class='error'>
  	            <%= error_message_on @feedback, :name %>
  	          </div>
  	        <%- end %>

  	      </div>


  	      <div class='form-field'>
  	        <%= form.label :email  %>
  	        <%= raw form.text_field :email  %>
  	        <%- if @feedback.errors.on(:email) %>
  	          <div class='error'>
  	            <%= error_message_on @feedback, :email %>
  	          </div>
  	        <%- end %>

  	      </div>

        <%- end %>


	      <div class='form-field'>
	        <%= form.label :subject %>
	        <%= raw form.text_field :subject  %>
	        <%- if @feedback.errors.on(:subject) %>
	          <div class='error'>
	            <%= error_message_on @feedback, :subject %>
	          </div>
	        <%- end %>
	      </div>

	      <%- if params[:url] %>
	        <%= raw hidden_field_tag 'feedback[feedback_on_uri]', params[:url] %>
	      <%- end %>
	      <%- if @operator %>
	        <%= raw hidden_field_tag 'operator_id', @operator.id %>
	      <%- end %>
	      <%- if @location %>
	        <%= raw hidden_field_tag 'location_id', @location.id %>
	        <%= raw hidden_field_tag 'location_type', @location.class.to_s %>
	      <%- end %>
	      
	      <div class='form-field'>
	        <%= form.label :message %>
	        <%= raw form.text_area :message, {:rows => 8, :cols => 50} %>
	        <%- if @feedback.errors.on(:message) %>
	          <div class='error'>
	            <%= error_message_on @feedback, :message %>
	          </div>
	        <%- end %>

	      </div>

		  <button stype="submit"><%= t('static.feedback.send') %></button>

	    </div>
	  <%- end %>
	</div>
</div><commit_msg>Bugfix typo<commit_after><div id="main-content" class="container">
  <%- if @operator %>
  <%= raw t('static.feedback.operator_feedback', :operator => @operator.name) %>
  <%- elsif @location %>
  <%= raw t('static.feedback.location_feedback', :location => name_in_sentence(@location)) %>
  <%- else %>
	<%= raw t('static.feedback.please_give_feedback', :email => mail_to(@email)) %>
	<%- end %>
	<div class='feedback-form'>
	  <%- form_for(@feedback, :url => feedback_path) do |form|  %>
	    <div class='fieldset'>

        <%- if current_user %>
            <%= form.hidden_field :name, :value => current_user.name %>
            <%= form.hidden_field :email, :value => current_user.email %>
        <%- else %>
	        <div class='form-field'>
  	        <%= form.label :name  %>
  	        <%= raw form.text_field :name %>
  	        <%- if @feedback.errors.on(:name) %>
  	          <div class='error'>
  	            <%= error_message_on @feedback, :name %>
  	          </div>
  	        <%- end %>

  	      </div>


  	      <div class='form-field'>
  	        <%= form.label :email  %>
  	        <%= raw form.text_field :email  %>
  	        <%- if @feedback.errors.on(:email) %>
  	          <div class='error'>
  	            <%= error_message_on @feedback, :email %>
  	          </div>
  	        <%- end %>

  	      </div>

        <%- end %>


	      <div class='form-field'>
	        <%= form.label :subject %>
	        <%= raw form.text_field :subject  %>
	        <%- if @feedback.errors.on(:subject) %>
	          <div class='error'>
	            <%= error_message_on @feedback, :subject %>
	          </div>
	        <%- end %>
	      </div>

	      <%- if params[:url] %>
	        <%= raw hidden_field_tag 'feedback[feedback_on_uri]', params[:url] %>
	      <%- end %>
	      <%- if @operator %>
	        <%= raw hidden_field_tag 'operator_id', @operator.id %>
	      <%- end %>
	      <%- if @location %>
	        <%= raw hidden_field_tag 'location_id', @location.id %>
	        <%= raw hidden_field_tag 'location_type', @location.class.to_s %>
	      <%- end %>
	      
	      <div class='form-field'>
	        <%= form.label :message %>
	        <%= raw form.text_area :message, {:rows => 8, :cols => 50} %>
	        <%- if @feedback.errors.on(:message) %>
	          <div class='error'>
	            <%= error_message_on @feedback, :message %>
	          </div>
	        <%- end %>

	      </div>

		  <button type="submit"><%= t('static.feedback.send') %></button>

	    </div>
	  <%- end %>
	</div>
</div>
{'fraction_non_alphanumeric': 0.19420917864880835, 'fraction_numerical': 0.0011818002757533978, 'mean_word_length': 1.8917995444191344, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 157, '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': '2948384', 'n_tokens_mistral': 1939, 'n_tokens_neox': 1625, 'n_words': 294}