<commit_before>%table.table
	%tr
		%th= "Chapters"
		%th
		%th

	- @chapters.each do |chapter|
		%tr
			%td= link_to chapter.title, chapter
			-if current_user.admin?
				%td= link_to 'Edit', edit_chapter_path(chapter)
				%td= link_to 'Destroy', chapter, :method => :delete, :data => { :confirm => 'Are you sure?' }

%br

-if current_user.admin?
	= link_to 'New Chapter', new_chapter_path(:workbook_id => Workbook.first.id)<commit_msg>Added container to chapters views<commit_after>.container
	%table.table
		%tr
			%th= "Chapters"
			%th
			%th

		- @chapters.each do |chapter|
			%tr
				%td= link_to chapter.title, chapter
				-if current_user.admin?
					%td= link_to 'Edit', edit_chapter_path(chapter)
					%td= link_to 'Destroy', chapter, :method => :delete, :data => { :confirm => 'Are you sure?' }

	%br

	-if current_user.admin?
		= link_to 'New Chapter', new_chapter_path(:workbook_id => Workbook.first.id)
{'fraction_non_alphanumeric': 0.1515812431842966, 'fraction_numerical': 0.0, 'mean_word_length': 3.857142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '6868004', 'n_tokens_mistral': 390, 'n_tokens_neox': 336, 'n_words': 82}