Source

formbar / formbar / templates / textarea.mako

Full commit
1
2
3
4
5
6
7
% if field.is_readonly():
  <div class="readonlyfield" name="${field.name}">
    ${field.get_value("").replace('\n', '<br>')}
  </div>
% else:
  <textarea id="${field.id}" name="${field.name}">${field.get_value()}</textarea>
% endif