= link_to t("application.webapi_keys.new"), new_webapi_key_path,class: [:btn,"btn-primary"] %table.table#webapi_data %thead %tr %th= WebapiKey.human_attribute_name(:app_name) %th= WebapiKey.human_attribute_name(:app_id) %th= WebapiKey.human_attribute_name(:app_token) %th %tbody - @webapi_keys.each do |webapi_key| %tr %td= webapi_key.app_name %td= webapi_key.app_id %td= webapi_key.app_token %td = link_to t("application.page_names.edit"), edit_webapi_key_path(webapi_key),class: [:btn,"btn-primary"] = link_to t("application.page_names.destroy"), webapi_key, method: :delete, data: { confirm: t("messages.destroy_confirm") },class: [:btn,"btn-danger"] = paginate @webapi_keys