<commit_before><%= form_tag("/settings", :method => "put") do %>
  <% @settings.each_pair do |key, var| %>
    <%= label_tag(key, key) %>
    <%= text_field_tag(key, var) %>
  <% end %>
  <br />
  <%= submit_tag("Save Changes") %>
<% end %><commit_msg>Ad style for settings things, add choice for forum news<commit_after><div class="row">
	<div class="span10 offset1">
		<h2>Application settings</h2>
		<br />
		
		<%= form_tag("/settings", :method => :put, :html => { :class => 'form-horizontal well' }) do %>
	</div>
</div>
<div class="row">
	<div class="span4">
	    <div class="control-group">
	      <%= label_tag :app_title, :app_title, :class => 'control-label' %>
	      <div class="controls">
	        <%= text_field_tag :app_title, Settings.app_title, :class => 'text_field', :class => "span2" %>
	      </div>
	    </div>
	</div>
	<div class="span4">
	    <div class="control-group">
	      <%= label_tag :pagination_users, :pagination_users, :class => 'control-label' %>
	      <div class="controls">
	        <%= number_field_tag :pagination_users, Settings.pagination_users, :class => 'text_field', :class => "span2" %>
	      </div>
	    </div>
	</div>
</div>
<div class="row">
	<div class="span4">
	    <div class="control-group">
	      <%= label_tag :news_forum_id, :news_forum_id, :class => 'control-label' %>
	      <div class="controls">
	        <%= select_tag :news_forum_id, options_from_collection_for_select(Forum.all, :id, :title, Settings.news_forum_id), :class => 'text_field', :class => "span2" %>
	      </div>
	    </div>
	</div>
	<div class="span4">
	    <div class="control-group">
	      <%= label_tag :pagination_places, :pagination_places, :class => 'control-label' %>
	      <div class="controls">
	        <%= number_field_tag :pagination_places, Settings.pagination_places, :class => 'text_field', :class => "span2" %>
	      </div>
	    </div>
	</div>
</div>
<div class="row">
	<div class="span4 offset4">
	    <div class="control-group">
	      <%= label_tag :pagination_topics, :pagination_topics, :class => 'control-label' %>
	      <div class="controls">
	        <%= number_field_tag :pagination_topics, Settings.pagination_topics, :class => 'text_field', :class => "span2" %>
	      </div>
	    </div>
	</div>
</div>
<div class="row">
	<div class="span4 offset4">
	    <div class="control-group">
	      <%= label_tag :pagination_messages, :pagination_messages, :class => 'control-label' %>
	      <div class="controls">
	        <%= number_field_tag :pagination_messages, Settings.pagination_messages, :class => 'text_field', :class => "span2" %>
	      </div>
	    </div>
	</div>
</div>



<div class="row">
	<div class="span12">
		<div class="form-actions">
			<%= submit_tag nil, :class => 'btn btn-primary' %>
		</div>
	</div>
</div>

<% end %>
{'fraction_non_alphanumeric': 0.20028612303290416, 'fraction_numerical': 0.0075107296137339056, 'mean_word_length': 3.518578352180937, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 106, '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': '6625013', 'n_tokens_mistral': 1071, 'n_tokens_neox': 969, 'n_words': 203}