<commit_before><div data-role="page">

  <div data-id="head" data-role="header" data-position="fixed">
    <h1>New <%= @xbmc_config.title %></h1>
    <a href="<%= url_for '/app/XbmcConfig/index' %>" class="cancel" data-direction="reverse" data-icon="delete">
      Cancel
    </a>
  </div>

  <div data-role="content">
    <form id="new_config" method="POST" action="<%= url_for :action => :create %>" name= 'xbmc_config_new'>
      <input type="hidden" name="id" value="<%= @xbmc_config.object %>"/>
			<% if @msg %>
			        <p style="color: red"><%= @msg %></p>
	    <% end %>
		  <% if @errors %>
		  	<script type="text/javascript" charset="utf-8">
		    	$(document).ready(function (){      
		      	mark_errors("#new_config", <%=  @errors %>);        
		    	});
		    </script>
		  <% end %>
		
      <ul data-role="listview">
	         <li>
	            <label for="xbmc_config[name]"><strong>Name:</strong></label>
	            <input type="text" id="xbmc_config[name]" name="xbmc_config[name]" 	value="<%= @xbmc_config.name %>" <%= placeholder( "Name" ) %> />
					</li>
<commit_msg>Fixed bug with header<commit_after><div data-role="page">

  <div data-id="head" data-role="header" data-position="inline">
    <h1>New <%= @xbmc_config.title %></h1>
    <a href="<%= url_for '/app/XbmcConfig/index' %>" class="cancel" data-direction="reverse" data-icon="delete">
      Cancel
    </a>
  </div>

  <div data-role="content">
    <form id="new_config" method="POST" action="<%= url_for :action => :create %>" name= 'xbmc_config_new'>
      <input type="hidden" name="id" value="<%= @xbmc_config.object %>"/>
			<% if @msg %>
			        <p style="color: red"><%= @msg %></p>
	    <% end %>
		  <% if @errors %>
		  	<script type="text/javascript" charset="utf-8">
		    	$(document).ready(function (){      
		      	mark_errors("#new_config", <%=  @errors %>);        
		    	});
		    </script>
		  <% end %>
		
      <ul data-role="listview">
	         <li>
	            <label for="xbmc_config[name]"><strong>Name:</strong></label>
	            <input type="text" id="xbmc_config[name]" name="xbmc_config[name]" 	value="<%= @xbmc_config.name %>" <%= placeholder( "Name" ) %> />
					</li>

{'fraction_non_alphanumeric': 0.224239673172946, 'fraction_numerical': 0.0027235587834770767, 'mean_word_length': 2.921708185053381, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 73, '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': '198796', 'n_tokens_mistral': 880, 'n_tokens_neox': 765, 'n_words': 137}