expertiza/expertiza

View on GitHub
app/models/table_header.rb

Summary

Maintainability
A
0 mins
Test Coverage
F
33%
class TableHeader < QuestionnaireHeader
  def complete(_count, _answer = nil)
    html = '<br/><big><b>' + txt + '</b></big><br/>'
    html += '<table class="general" style="border: 2; text-align: left; width: 100%">'
    html.html_safe
  end

  def view_completed_question(_count, _answer)
    html = '<br/><big><b>' + txt + '</b></big><br/>'
    html += '<table class="general" style="border: 2; text-align: left; width: 100%">'
    html.html_safe
  end
end