Sha256: 9ff11cdadf1ffdfa5a70a7b44b92b597b07d942aebf2b2b6eaee4b7d345dfd1b
Contents?: true
Size: 890 Bytes
Versions: 25
Compression:
Stored size: 890 Bytes
Contents
<table class="transparent"> <tr> <th>Name:</th> <td><%= payment_method.plugin_name %></td> </tr> <tr> <th>ID:</th> <td><%= payment_method.payment_method_id %></td> </tr> <% unless payment_method.plugin_info.blank? %> <% unless payment_method.plugin_info.external_payment_method_id.blank? %> <tr> <th>Key:</th> <td><%= payment_method.plugin_info.external_payment_method_id %></td> </tr> <% end %> <% (payment_method.plugin_info.properties || []).sort_by { |p| [p.key, p.value] }.each do |property| %> <% next if property.value.blank? %> <tr> <th><%= property.key %></th> <td><%= is_json?(property.value) ? "<pre>#{JSON.pretty_generate(JSON.parse(property.value))}</pre>".html_safe : property.value %></td> </tr> <% end %> <% end %> </table>
Version data entries
25 entries across 25 versions & 1 rubygems