impress/app/views/broken_image_reports/new.html.haml

22 lines
718 B
Text
Raw Normal View History

2012-12-29 23:13:58 -08:00
- title t('.title')
2011-08-07 15:23:44 -07:00
2012-12-29 23:13:58 -08:00
%p= t '.explanation_html', :contact_link => mail_to(contact_email)
2011-08-07 15:23:44 -07:00
2012-12-29 23:13:58 -08:00
%p= t '.call_to_action'
2011-08-07 15:23:44 -07:00
%ul#report-assets
- @swf_assets.each do |swf_asset|
%li
2012-07-16 13:34:44 -07:00
= link_to image_tag(swf_asset.image_url([150, 150])), swf_asset.url
2011-08-07 15:23:44 -07:00
- unless swf_asset.image_pending_repair?
= form_tag(:action => :create) do
= hidden_field_tag 'swf_asset_remote_id', swf_asset.remote_id
= hidden_field_tag 'swf_asset_type', swf_asset.type
2012-12-29 23:13:58 -08:00
= submit_tag t('.submit')
2011-08-07 15:23:44 -07:00
- if swf_asset.converted_at?
2012-12-29 23:13:58 -08:00
%span.converted-at= format_converted_at(swf_asset.converted_at)
2011-08-07 15:23:44 -07:00
- else
2012-12-29 23:13:58 -08:00
%span.reported-broken-at= format_reported_at(swf_asset.reported_broken_at)
2011-08-07 15:23:44 -07:00