<commit_before><template name="customListEdit">

	<div class="container main-content">
		{{#if isUserIdCurrentUser userId}}
			<div class="clearfix">
				<div class="main block">
					<section>
						<h3>{{title}}</h3>
						<h5 class="sub-text">{{description}}</h5>
					</section>

					<section>
						<ul class="no-list-style" id="entries">
							{{#each entriesWithContent}}
								{{#if ../isTypeAnime}}
									{{> animeCardCustomList isEditMode=true entry=this customList=..}}
								{{/if}}
							{{else}}
								<h3 style="margin-top: 30px" class="centered-text sub-text">There are no {{../type}} in this list, search below and click on one to add it.</h3>
							{{/each}}
						</ul>
					</section>

					<section class="flex">
						<input type="text" class="form-control" id="search" placeholder="Search for {{type}} and press enter">
						<button type="button" id="saveBtn" class="btn btn-transparent btn-default btn-md btn-full-width">Save & view</button>
					</section>

					<section>
						{{#unless ready}}
							{{> loading}}
						{{/unless}}
						<div class="clearfix">
							{{#each searchResults}}
								<div class="grid-col-6">
									<div class="custom-list-wrapper" data-content-id="{{_id}}">
										{{> animeCard anime=this wrapLink=false cssStyle='cursor: pointer;'}}
									</div>
								</div>
							{{/each}}
						</div>
					</section>
				</div>

				<div class="sidebar">
					{{> Template.dynamic template="userCard" data=user}}
				</div>
			</div>
		{{else}}
			<h3 class="sub-text">You can only edit your own lists</h3>
		{{/if}}
	</div>
</template>
<commit_msg>Use flex-center for search results in custom list edit<commit_after><template name="customListEdit">
	<div class="container main-content">
		{{#if isUserIdCurrentUser userId}}
			<div class="clearfix">
				<div class="main block">
					<section>
						<h3>{{title}}</h3>
						<h5 class="sub-text">{{description}}</h5>
					</section>

					<section>
						<ul class="no-list-style" id="entries">
							{{#each entriesWithContent}}
								{{#if ../isTypeAnime}}
									{{> animeCardCustomList isEditMode=true entry=this customList=..}}
								{{/if}}
							{{else}}
								<h3 style="margin-top: 30px" class="centered-text sub-text">There are no {{../type}} in this list, search below and click on one to add it.</h3>
							{{/each}}
						</ul>
					</section>

					<section class="flex">
						<input type="text" class="form-control" id="search" placeholder="Search for {{type}} and press enter">
						<button type="button" id="saveBtn" class="btn btn-transparent btn-default btn-md btn-full-width">Save & view</button>
					</section>

					<section>
						{{#unless ready}}
							{{> loading}}
						{{/unless}}
						<div class="flex-center">
							{{#each searchResults}}
								<div class="custom-list-wrapper" data-content-id="{{_id}}">
									{{> animeCard anime=this wrapLink=false cssStyle='cursor: pointer;'}}
								</div>
							{{/each}}
						</div>
					</section>
				</div>

				<div class="sidebar">
					{{> Template.dynamic template="userCard" data=user}}
				</div>
			</div>
		{{else}}
			<h3 class="sub-text">You can only edit your own lists</h3>
		{{/if}}
	</div>
</template>

{'fraction_non_alphanumeric': 0.188039457459926, 'fraction_numerical': 0.006473489519112207, 'mean_word_length': 2.7427912341407152, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 83, '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': '2495778', 'n_tokens_mistral': 1455, 'n_tokens_neox': 1026, 'n_words': 247}