<commit_before><%= form_for @resource do |f| %>
	<md-card layout-padding>
		<md-card-title>
			<md-card-title-text>
				<% if params['action'] == 'edit' %>
					<h3>Ändring av: <%= @resource %> </h3>
				<% else %>
					<h3>Skapande av <%= @resource_class.model_name.human(count: 2) %> </h3>
				<% end %>
			</md-card-title-text>
		</md-card-title>
		<md-card-content>
	  <% @resource_service.attrs_for_form.each do |attribute| %>
			    <% if f.object.class.reflect_on_association(attribute) %>
			      <%= f.association attribute %>
			    <% else %><commit_msg>overwrite default form to not have input containers if checkbox<commit_after><%= form_for @resource do |f| %>
	<md-card layout-padding>
		<md-card-title>
			<md-card-title-text>
				<% if params['action'] == 'edit' %>
					<h3>Ändring av: <%= @resource %> </h3>
				<% else %>
					<h3>Skapande av <%= @resource_class.model_name.human(count: 2) %> </h3>
				<% end %>
			</md-card-title-text>
		</md-card-title>
		<md-card-content>
	  <% @resource_service.attrs_for_form.each do |attribute| %>
			    <% if f.object.class.reflect_on_association(attribute) %>
			      <%= f.association attribute %>
			    <% elsif @resource.column_for_attribute(attribute).type == :boolean %>
			      	<%= f.input attribute %>
					<% else %>
{'fraction_non_alphanumeric': 0.19180201082753287, 'fraction_numerical': 0.007733952049497293, 'mean_word_length': 3.069182389937107, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '513011', 'n_tokens_mistral': 579, 'n_tokens_neox': 454, 'n_words': 82}