diff --git a/app/views/admin/contacts/partials/_statuses.haml b/app/views/admin/contacts/partials/_statuses.haml deleted file mode 100644 index 3131fd4ba..000000000 --- a/app/views/admin/contacts/partials/_statuses.haml +++ /dev/null @@ -1,14 +0,0 @@ -.panel{class: 'panel-default'} - .panel-heading - = t(:statuses) - .table-responsive - %table.table.table-hover.table-bordered.table-condensed - %thead - %tr - %th{class: 'col-xs-6'}= t(:status) - %th{class: 'col-xs-6'}= t(:notes) - %tbody - - contact.statuses.each do |status| - %tr - %td= status - %td= contact.status_notes[status] diff --git a/app/views/admin/contacts/partials/_statuses.html.erb b/app/views/admin/contacts/partials/_statuses.html.erb new file mode 100644 index 000000000..15b5af7c0 --- /dev/null +++ b/app/views/admin/contacts/partials/_statuses.html.erb @@ -0,0 +1,31 @@ +
+ <%= t(:status) %> + | ++ <%= t(:notes) %> + | +
---|---|
+ <%= status %> + | ++ <%= contact.status_notes[status] %> + | +