Sha256: 161073095bd201fdba7fa4ec141612ccffcbeb02e5996561ce945bbca28ab960

Contents?: true

Size: 375 Bytes

Versions: 22

Compression:

Stored size: 375 Bytes

Contents

<%# @param object [model] model instance %>
<%# @param field_name [String] name of the field %>
<%# @param value [Object] value of the field %>
<%# @param metadata [Hash] metadata of the field %>
<%= if value.nil?
  null
else
  concat content_tag(:code, value)
  link_to(
    fa_icon('link'), "http://ip-api.com/##{value}",
    target: :_blank, class: 'text-info'
  )
end %>

Version data entries

22 entries across 11 versions & 1 rubygems

Version Path
wallaby-8.0.0 app/views/wallaby/resources/index/_cidr.html.erb
wallaby-8.0.0 app/views/wallaby/resources/index/_inet.html.erb
wallaby-7.0.0 app/views/wallaby/resources/index/_cidr.html.erb
wallaby-7.0.0 app/views/wallaby/resources/index/_inet.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/index/_inet.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/index/_cidr.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/index/_inet.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/index/_cidr.html.erb
wallaby-6.1.6 app/views/wallaby/resources/index/_cidr.html.erb
wallaby-6.1.6 app/views/wallaby/resources/index/_inet.html.erb
wallaby-6.1.5 app/views/wallaby/resources/index/_inet.html.erb
wallaby-6.1.5 app/views/wallaby/resources/index/_cidr.html.erb
wallaby-6.1.4 app/views/wallaby/resources/index/_inet.html.erb
wallaby-6.1.4 app/views/wallaby/resources/index/_cidr.html.erb
wallaby-6.1.3 app/views/wallaby/resources/index/_inet.html.erb
wallaby-6.1.3 app/views/wallaby/resources/index/_cidr.html.erb
wallaby-6.1.2 app/views/wallaby/resources/index/_cidr.html.erb
wallaby-6.1.2 app/views/wallaby/resources/index/_inet.html.erb
wallaby-6.1.1 app/views/wallaby/resources/index/_inet.html.erb
wallaby-6.1.1 app/views/wallaby/resources/index/_cidr.html.erb