%h1 New applications %table %thead %tr %th Authority %th Reference %th Received %th Address %tbody - apps.each do |app| %tr %td.nowrap %a{ href: authority_url(app['authority_name']) } = app['authority_name'] %td %a{ href: app['info_url']} = app['council_reference'] %td.nowrap= short_date(app['date_received']) %td= app['address']