equal
deleted
inserted
replaced
311 """ read-only field """ |
311 """ read-only field """ |
312 if w is None: |
312 if w is None: |
313 w = self.w |
313 w = self.w |
314 if row: |
314 if row: |
315 w(u'<div class="row">') |
315 w(u'<div class="row">') |
316 if show_label: |
316 if show_label and label: |
317 if tr: |
317 if tr: |
318 label = display_name(self.req, label) |
318 label = display_name(self.req, label) |
319 w(u'<span class="label">%s</span>' % label) |
319 w(u'<span class="label">%s</span>' % label) |
320 w(u'<div class="field">%s</div>' % value) |
320 w(u'<div class="field">%s</div>' % value) |
321 if row: |
321 if row: |