<commit_before>
<div class="wrapLeft">
  <% if flash[:success] %>
    <div class="success">
      <%= flash[:success] %>
    </div>
  <% end%>
</div>

<%= form_for @section, :as => :section do |f| %>
  <%= render :partial => "shared/error_explanation",
      :locals => { :model => @section, :flash_message => flash[:error] } %>
  <fieldset>
    <legend><%= I18n.t('section.legend') %></legend>
    <%= raw(f.label :name, t("section.name")) %>
    <%= raw(f.text_field :name) %>
    <br />
    <% if controller.action_name == "create_section"%>
      <%= f.submit I18n.t(:submit) %>
    <% else %>
      <%= f.submit I18n.t(:save) %>
    <% end %>

<ul id="section_student_list">
<% if @section %>
  <% if @students %>
    <table>
    	<% @students.each do |student| %>
    	  <tr>
    	  	<td>
              <td><%= h(student.user_name)%></td>
              <td><%= h(student.last_name)%></td>
              <td><%= h(student.first_name)%></td>
              <td><%= link_to I18n.t(:edit), :controller => 'students', :action =>
                'edit', :id => student%></td>
    	  	</td>
    	  </tr>
    	<% end %>
    </table>
  <% end %>
<% end %>
</ul>

  </fieldset>
<% end %><commit_msg>fixed whitespace<commit_after>
<div class="wrapLeft">
  <% if flash[:success] %>
    <div class="success">
      <%= flash[:success] %>
    </div>
  <% end%>
</div>

<%= form_for @section, :as => :section do |f| %>
  <%= render :partial => "shared/error_explanation",
      :locals => { :model => @section, :flash_message => flash[:error] } %>
  <fieldset>
    <legend><%= I18n.t('section.legend') %></legend>
    <%= raw(f.label :name, t("section.name")) %>
    <%= raw(f.text_field :name) %>
    <br />
    <% if controller.action_name == "create_section"%>
      <%= f.submit I18n.t(:submit) %>
    <% else %>
      <%= f.submit I18n.t(:save) %>
    <% end %>

    <ul id="section_student_list">
    <% if @section %>
      <% if @students %>
        <table>
    	    <% @students.each do |student| %>
        	  <tr>
        	  	<td>
                  <td><%= h(student.user_name)%></td>
                  <td><%= h(student.last_name)%></td>
                  <td><%= h(student.first_name)%></td>
                  <td><%= link_to I18n.t(:edit), :controller => 'students', :action =>
                    'edit', :id => student%></td>
    	      	</td>
        	  </tr>
        	<% end %>
        </table>
      <% end %>
    <% end %>
    </ul>

  </fieldset>
<% end %>
{'fraction_non_alphanumeric': 0.23510336441021484, 'fraction_numerical': 0.0064856100526955816, 'mean_word_length': 2.1479591836734695, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 117, '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': '5916195', 'n_tokens_mistral': 999, 'n_tokens_neox': 894, 'n_words': 161}