<p class="background-{{ faction_code }}-20"
	style="padding: 3px 5px; border-radius: 3px; border: 1px solid silver">
	<button type="button" class="close" aria-hidden="true" onclick="$(this).parent('p').remove()">&times;</button>
	<input type="hidden" name="cards[]" value="{{ code }}">{{ title }}
</p>
<p class="background-{{ faction_code }}-20"
	style="padding: 3px 5px; border-radius: 3px; border: 1px solid silver">
	<button type="button" class="close" aria-hidden="true" onclick="$(this).parent('p').remove()">&times;</button>
	<input type="hidden" name="cards[]" value="{{ code }}">{{ title }} ({{ pack.name }})
</p>

Include pack name on cards (page load)
Include pack name on cards (page load)