<commit_before><%= semantic_form_for([:admin, @setting]) do |form| %>

	<%= render "admin/shared/form_buttons", :form => form %>

	<%= render "admin/shared/form_errors" %>

	<div class="tabs">
		
		<ul>
			<li><a href="#tab_main">Main</a></li>
		</ul>		
	
		<div id="tab_main">
			  
			  	<%= form.inputs do -%>
						<%= form.input :name %>
						<% if @setting.name.index("password") %>
							<%= form.input :value, :as => :password %>
						<% else %>
							<%= form.input :value %>
					  <% end %>
						<%= form.input :note %>
				  <%- end -%>
			  
		</div>
	
	</div>
<commit_msg>fix settings issues<commit_after><%= semantic_form_for([:admin, @setting]) do |form| %>

	<%= render "admin/shared/form_buttons", :form => form %>

	<%= render "admin/shared/form_errors" %>

	<div class="tabs">
		
		<ul>
			<li><a href="#tab_main">Main</a></li>
		</ul>		
	
		<div id="tab_main">
			  
			  	<%= form.inputs do -%>
						<%= form.input :name %>
						<% if !@setting.name.nil? && @setting.name.index("password") %>
							<%= form.input :value, :as => :password, :input_html => {:value => ""} %>
						<% else %>
							<%= form.input :value %>
					  <% end %>
						<%= form.input :note %>
				  <%- end -%>
			  
		</div>
	
	</div>

{'fraction_non_alphanumeric': 0.23832528180354268, 'fraction_numerical': 0.0, 'mean_word_length': 2.3777173913043477, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 53, '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': '806993', 'n_tokens_mistral': 628, 'n_tokens_neox': 448, 'n_words': 81}