Browse Source

Set grey background if the field is readonly

pull/234/head
Kat 3 years ago
parent
commit
ad37bafaa5
  1. 1
      app/helpers/question_attribute_helper.rb

1
app/helpers/question_attribute_helper.rb

@ -10,6 +10,7 @@ module QuestionAttributeHelper
private
def numeric_question_html_attributes(question)
return { "style": "background-color: #f3f2f1;" } if question.read_only?
return {} if question.fields_to_add.blank? || question.result_field.blank?
{

Loading…
Cancel
Save