Sha256: 213c809a994f5ea354bd7cc5c666cd008515e0dbd0cdf96184a008af056b9782
Contents?: true
Size: 732 Bytes
Versions: 7
Compression:
Stored size: 732 Bytes
Contents
module Web module Views module Home class Index include Web::View def form form_for :flagsmith, '/', method: :get do h3 'Identify as a User' div style: 'margin-bottom: 1em;' do label :identifier text_field :identifier end p '... with an optional user trait' div style: 'margin-bottom: 1em;' do label :trait_key text_field :trait_key end div style: 'margin-bottom: 1em;' do label :trait_value text_field :trait_value end div { submit 'Identify!' } end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems