added getNameAttribute helper (WIP)
updated layout
fixed HTML tags, updated layout
updated getNameAttribute helper
reverted logic in template; moved to application provider