<commit_before><div class="row">
	<div class="col-sm-3">
	<div class="form-group">
		{!! CollectiveForm::label('name', trans('ticketit::admin.category-create-name') . trans('ticketit::admin.colon'), ['class' => 'col-lg-2 control-label']) !!}
		<div class="col-lg-10">
			{!! CollectiveForm::text('name', isset($category->name) ? $category->name : null, ['class' => 'form-control']) !!}
		</div>
	</div>
	<div class="form-group">
		{!! CollectiveForm::label('color', trans('ticketit::admin.category-create-color') . trans('ticketit::admin.colon'), ['class' => 'col-lg-2 control-label']) !!}
		<div class="col-lg-10 ">
			<!---->
			<button class="btn btn-default pull-left" id="category_color_picker" type="button"><span class="color-fill-icon dropdown-color-fill-icon" style="background-color: {{isset($category->color) ? $category->color : "#000000"}};"></span>&nbsp;<b class="caret"></b></button>
			<input type="hidden" id="category_color" name="color" value="{{isset($category->color) ? $category->color : '#000000'}}">

		</div>
	</div>
	</div>
	<div class="col-sm-9">	
	<div class="form-group">
		<label class="control-label col-sm-2" for="admin-select2-tags">New tags:</label>
		<div class="col-sm-10">
		<select id="admin-select2-tags" class="select2-multiple" name="new_tags[]" multiple="multiple" style="display: none; width: 100%"></select></div>
		
	</div>
	@if (isset($category) and $category->has('tags'))
	<div class="form-group">
		<label class="control-label col-sm-2">Current tags:</label>
		<div class="col-sm-10">					
			<div id="tag-panel" class="btn-group-panel pull-left">
				@foreach ($category->tags as $i=>$tag)		
					<div class="btn-group jquery_tag_group_unchecked">				
					<a href="#" role="button" id="jquery_tag_check_{{$i}}" class="btn btn-default jquery_tag_check" title="Eliminar etiqueta {{$tag->name}}" aria-label="Eliminar etiqueta {{$tag->name}}"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span><span class="glyphicon glyphicon-ok" aria-hidden="true" style="display: none"></span></a>								
					<a href="#" role="button" id="tag_text_{{$i}}" class="btn btn-default btn-tag jquery_tag_text" aria-label="Etiqueta {{$tag->name}}" title="Etiqueta '{{$tag->name}}' conté {{$tag->tickets_count}} tiquets relacionats" data-toggle="modal" data-target="#tag-edit-modal" data-tag_name="{{$tag->name}}" data-tag_i="{{$i}}" style="color: {{$tag->text_color}}; background: {{$tag->bg_color}}"><span class="name">{{$tag->name}}</span> ({{$tag->tickets_count}})</a>
					
					</div>
					<input type="hidden" id="jquery_delete_tag_{{$i}}" name="jquery_delete_tag_{{$i}}" value="{{$tag->id}}" disabled="disabled">
					<input type="hidden" id="jquery_tag_id_{{$i}}" name="jquery_tag_id_{{$i}}" value="{{$tag->id}}">
					<input type="hidden" id="jquery_tag_name_{{$i}}" name="jquery_tag_name_{{$i}}" value="{{$tag->name}}" disabled="disabled">
					<input type="hidden" id="jquery_tag_color_{{$i}}" name="jquery_tag_color_{{$i}}" value="{{$tag->bg_color.'_'.$tag->text_color}}" disabled="disabled">
				@endforeach
			</div>
			<input type="hidden" name="tags_count" value="<?=isset($i)?$i+1:0;?>}}">			
		</div>
	</div>
	@endif
</div>

<div class="row">	
	<div class="col-lg-10 col-lg-offset-2">
		{!! link_to_route($setting->grab('admin_route').'.category.index', trans('ticketit::admin.btn-back'), null, ['class' => 'btn btn-default']) !!}
		@if(isset($category))
			{!! CollectiveForm::submit(trans('ticketit::admin.btn-update'), ['class' => 'btn btn-primary']) !!}
		@else
			{!! CollectiveForm::submit(trans('ticketit::admin.btn-submit'), ['class' => 'btn btn-primary']) !!}
		@endif
	</div>
</div><commit_msg>category form center submit buttons<commit_after><div class="row">
	<div class="col-sm-3">
	<div class="form-group">
		{!! CollectiveForm::label('name', trans('ticketit::admin.category-create-name') . trans('ticketit::admin.colon'), ['class' => 'col-lg-2 control-label']) !!}
		<div class="col-lg-10">
			{!! CollectiveForm::text('name', isset($category->name) ? $category->name : null, ['class' => 'form-control']) !!}
		</div>
	</div>
	<div class="form-group">
		{!! CollectiveForm::label('color', trans('ticketit::admin.category-create-color') . trans('ticketit::admin.colon'), ['class' => 'col-lg-2 control-label']) !!}
		<div class="col-lg-10 ">
			<!---->
			<button class="btn btn-default pull-left" id="category_color_picker" type="button"><span class="color-fill-icon dropdown-color-fill-icon" style="background-color: {{isset($category->color) ? $category->color : "#000000"}};"></span>&nbsp;<b class="caret"></b></button>
			<input type="hidden" id="category_color" name="color" value="{{isset($category->color) ? $category->color : '#000000'}}">

		</div>
	</div>
	</div>
	<div class="col-sm-9">	
	<div class="form-group">
		<label class="control-label col-sm-2" for="admin-select2-tags">New tags:</label>
		<div class="col-sm-10">
		<select id="admin-select2-tags" class="select2-multiple" name="new_tags[]" multiple="multiple" style="display: none; width: 100%"></select></div>
		
	</div>
	@if (isset($category) and $category->has('tags'))
	<div class="form-group">
		<label class="control-label col-sm-2">Current tags:</label>
		<div class="col-sm-10">					
			<div id="tag-panel" class="btn-group-panel pull-left">
				@foreach ($category->tags as $i=>$tag)		
					<div class="btn-group jquery_tag_group_unchecked">				
					<a href="#" role="button" id="jquery_tag_check_{{$i}}" class="btn btn-default jquery_tag_check" title="Eliminar etiqueta {{$tag->name}}" aria-label="Eliminar etiqueta {{$tag->name}}"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span><span class="glyphicon glyphicon-ok" aria-hidden="true" style="display: none"></span></a>								
					<a href="#" role="button" id="tag_text_{{$i}}" class="btn btn-default btn-tag jquery_tag_text" aria-label="Etiqueta {{$tag->name}}" title="Etiqueta '{{$tag->name}}' conté {{$tag->tickets_count}} tiquets relacionats" data-toggle="modal" data-target="#tag-edit-modal" data-tag_name="{{$tag->name}}" data-tag_i="{{$i}}" style="color: {{$tag->text_color}}; background: {{$tag->bg_color}}"><span class="name">{{$tag->name}}</span> ({{$tag->tickets_count}})</a>
					
					</div>
					<input type="hidden" id="jquery_delete_tag_{{$i}}" name="jquery_delete_tag_{{$i}}" value="{{$tag->id}}" disabled="disabled">
					<input type="hidden" id="jquery_tag_id_{{$i}}" name="jquery_tag_id_{{$i}}" value="{{$tag->id}}">
					<input type="hidden" id="jquery_tag_name_{{$i}}" name="jquery_tag_name_{{$i}}" value="{{$tag->name}}" disabled="disabled">
					<input type="hidden" id="jquery_tag_color_{{$i}}" name="jquery_tag_color_{{$i}}" value="{{$tag->bg_color.'_'.$tag->text_color}}" disabled="disabled">
				@endforeach
			</div>
			<input type="hidden" name="tags_count" value="<?=isset($i)?$i+1:0;?>}}">			
		</div>
	</div>
	@endif
	</div>
</div>
{!! link_to_route($setting->grab('admin_route').'.category.index', trans('ticketit::admin.btn-back'), null, ['class' => 'btn btn-default']) !!}
@if(isset($category))
	{!! CollectiveForm::submit(trans('ticketit::admin.btn-update'), ['class' => 'btn btn-primary']) !!}
@else
	{!! CollectiveForm::submit(trans('ticketit::admin.btn-submit'), ['class' => 'btn btn-primary']) !!}
@endif
{'fraction_non_alphanumeric': 0.25158097332966733, 'fraction_numerical': 0.009760791861424251, 'mean_word_length': 5.981765834932822, 'pattern_counts': {'":': 0, '<': 118, '<?xml version=': 0, '>': 180, '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': '918209', 'n_tokens_mistral': 2803, 'n_tokens_neox': 2543, 'n_words': 405}