You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- %h1= auth['authority_name']
-
- %h2 Summary
-
- %table
- %thead
- %tr
- %th Status
- %th Decision
- %th Appeal status
- %th Appeal decision
- %th Quantity
- %tbody
- - summary.each do |row|
- %tr
- %td= cleanup(row['status'])
- %td= cleanup(row['decision'])
- %td= cleanup(row['appeal_status'])
- %td= cleanup(row['appeal_decision'])
- %td= row['qty']
-
- %h2 Applications
-
- %p
- - csv_fn = slug(auth['authority_name']) + '.csv'
- %a.button{ :href => csv_fn, :download => csv_fn }
- Download CSV data
-
- %table
- %thead
- %tr
- %th Received
- %th Reference
- %th Address
- -# %th Proposal
- %th Status
- %th Decision
- - apps.each do |app|
- %tr
- %td= short_date(app['date_received'])
- %td
- %a{ href: app['info_url']}
- = app['council_reference']
- %td= app['address']
- -# %td= app['description']
- %td= cleanup(app['status'])
- %td= cleanup(app['decision'])
|