Sha256: bdebb2e66bea9a49869d8a86c634ed1e6a8385c68cd746a23f90ebf7c367e32b

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

module BootstrapFeedbacker
  module ModalsHelper
    def bootstrap_feedbacker_link(name: 'Feedback', **html_options)
      link_to(name, bootstrap_feedbacker.new_remark_path, 'data-turbo-stream': true, **html_options)
    end

    def bootstrap_feedbacker_modal
      tag.div(id: BootstrapFeedbacker::SETTINGS.modal_id)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap_feedbacker-0.6.0 app/helpers/bootstrap_feedbacker/modals_helper.rb
bootstrap_feedbacker-0.5.0 app/helpers/bootstrap_feedbacker/modals_helper.rb