Sha256: 1a768de5061d0b0fdaeb5e84126a935d714b45a5292e171c2557bb2c0da901c0

Contents?: true

Size: 332 Bytes

Versions: 17

Compression:

Stored size: 332 Bytes

Contents

module CurationConcerns
  module PermissionsHelper
    def help_text(file)
      capture_content(file)
    end

    private

      def capture_content(file)
        capture do
          render file
        end
      end

      def help_icon
        content_tag 'i', '', 'aria-hidden' => true, class: 'help-icon'
      end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
curation_concerns-1.5.0 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.4.0 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.3.3 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.3.2 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.3.1 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.3.0 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.2.0 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.1.2 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.1.1 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.1.0 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.0.0 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.0.0.beta10 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.0.0.beta9 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.0.0.beta8 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.0.0.beta7 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.0.0.beta6 app/helpers/curation_concerns/permissions_helper.rb
curation_concerns-1.0.0.beta5 app/helpers/curation_concerns/permissions_helper.rb