nowrap for table th
fix form submission problem when using browser's history
use text_for_id for replace non characteres with '-'