Sha256: 2e06b7863596e237a326148c79d1787e7b1a53d7f098d3e62b097f9f8ee7d743

Contents?: true

Size: 231 Bytes

Versions: 42

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true

module Effective
  module TableRows
    class UrlField < Effective::TableRow

      def content
        template.link_to(value, value, target: '_blank') if value.present?
      end

    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
effective_bootstrap-1.19.10 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.19.9 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.19.8 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.19.7 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.19.6 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.19.5 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.19.4 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.19.3 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.19.2 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.19.1 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.19.0 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.18.7 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.18.4 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.18.3 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.18.2 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.18.1 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.18.0 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.17.6 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.17.5 app/models/effective/table_rows/url_field.rb
effective_bootstrap-1.17.4 app/models/effective/table_rows/url_field.rb