Move mappings table into a partial

* Preparation before using the table in a modal window