Sha256: 33fd86e37f3215ced7ac363c547ca58e810b70ca05de59138dabd989342632a5

Contents?: true

Size: 309 Bytes

Versions: 33

Compression:

Stored size: 309 Bytes

Contents

-# frozen_string_literal: true
- title_text = question.title
- label_for = "answer_#{question.key}"
- if title_text.present?
  .main{:data => {:for => question.key}}
    %label{for: label_for}= Quby::MarkdownParser.new(title_text).html_safe
    - if (title_insert rescue nil)
      =title_insert
- else
  =''

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
quby-4.0.4 app/views/quby/v1/shared/_main_label.html.haml
quby-5.0.0.pre4 app/views/quby/v1/shared/_main_label.html.haml
quby-5.0.0.pre3 app/views/quby/v1/shared/_main_label.html.haml
quby-5.0.0.pre2 app/views/quby/v1/shared/_main_label.html.haml
quby-5.0.0.pre1 app/views/quby/v1/shared/_main_label.html.haml
quby-4.0.3 app/views/quby/v1/shared/_main_label.html.haml
quby-4.0.2 app/views/quby/v1/shared/_main_label.html.haml
quby-4.0.1 app/views/quby/v1/shared/_main_label.html.haml
quby-4.0.0 app/views/quby/v1/shared/_main_label.html.haml
quby-3.2.2 app/views/quby/v1/shared/_main_label.html.haml
quby-3.2.1 app/views/quby/v1/shared/_main_label.html.haml
quby-3.2.0 app/views/quby/v1/shared/_main_label.html.haml
quby-3.2.0.pre.pre1 app/views/quby/v1/shared/_main_label.html.haml