.row .col-md-4 = render "search_forms" .col-md-8 %table.table#access_log_mynumber_result %thead %tr - if @q2.key_1_eq == 2 %th= Mynumber.human_attribute_name(:key_3) %th= AccessLog.human_attribute_name(:accessed_on) %th= AccessLog.human_attribute_name(:accessed_action_detail) %th= AccessLog.human_attribute_name(:accessed_result) %th %tbody - @access_logs.each do |log| - log_detail = log.access_log_detail %tr{data: {id: log.id }} - if @q2.key_1_eq == 2 %td= log.key_3 %td= log_detail.accessed_at.in_time_zone.strftime("%Y-%m-%d %H:%M:%S") if log_detail.present? && log_detail.accessed_at.present? %td= log_detail.accessed_action_detail if log_detail.present? %td= log_detail.accessed_result_i18n if log_detail.present? %td= link_to(t(".show_detail"),access_log_mynumber_path(log),remote: true,class: [:btn,"btn-default"]) if log_detail.present? = paginate @access_logs #modal.modal.fade{aria: {hidden: "true"}} .modal-dialog .modal-content .modal-header %button.close{type: "button",data: {dismiss: "modal"}, aria: {dismiss: "modal",label: "Close"}} %span{aria: {hidden: "true"}} × %h4#modal_title.modal-title= t(".modal_title") .modal-body#modal_body .modal-footer .btn.btn-default{data: {dismiss: "modal"}}= t("helpers.button.close")