conga/luci/cluster form-macros
CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-12-22 17:18:42
Modified files:
luci/cluster : form-macros
Log message:
luci: cluster.conf editor: size textarea to fit content
luci/cluster/form-macros +2 -2
@@ -3879,8 +3879,8 @@ tal:define="ret python: here.process_cluster_conf_editor(request)"> <span tal:content="structure python: ret['msg'].replace('\n', '<br/>')"/> <textarea name="new_cluster_conf" - rows="80" - tal:content="structure ret/cluster_conf"></textarea> + tal:attributes="rows python: len(ret['cluster_conf'].splitlines()) + 8" + tal:content="structure ret/cluster_conf"></textarea> <input tal:attributes="type string:hidden; name string:pagetype; value python:request['pagetype']"/>