app/soc/templates/soc/templatetags/_readonly_field_as_table_row.html
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 24 Jan 2009 00:07:34 +0000
changeset 941 6eac584ce14c
parent 472 519c298a4f87
child 1329 c0af9fa2f83d
permissions -rw-r--r--
Add a warning about discarding unsaved changes Also set the colspan of the label (on seperate row) to max. Patch by: Sverre Rabbelier
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
99
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     1
{% comment %}
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     2
Licensed under the Apache License, Version 2.0 (the "License");
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     3
you may not use this file except in compliance with the License.
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     4
You may obtain a copy of the License at
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     5
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     6
  http://www.apache.org/licenses/LICENSE-2.0
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     7
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     8
Unless required by applicable law or agreed to in writing, software
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
     9
distributed under the License is distributed on an "AS IS" BASIS,
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    10
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    11
See the License for the specific language governing permissions and
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    12
limitations under the License.
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    13
{% endcomment %}
426
114fe0f840c8 Add tooltips style display of help_text, instead of widening the form with
Todd Larsen <tlarsen@google.com>
parents: 255
diff changeset
    14
<tr title="{{ field.help_text }}">
216
aac174b902b3 Change _readonly_field_as_table_row <td> tag class names to match those used in _field_as_table_row. That should actually go into previous commit.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 99
diff changeset
    15
 <td class="formfieldlabel">
255
663edd9f7e66 Add colon at the of _readonly_field_as_table_row template tag label parameter. Replace hardcoded labels in User Public profile template with linkname_user.fields.<field_name>.label values.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 216
diff changeset
    16
	{{ field_label }}:
99
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    17
 </td>
216
aac174b902b3 Change _readonly_field_as_table_row <td> tag class names to match those used in _field_as_table_row. That should actually go into previous commit.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 99
diff changeset
    18
 <td class="formfieldvalue">
99
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    19
	{{ field_value }}
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    20
 </td>
8c38b546a3cf Added public view support (not using controller yet)
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff changeset
    21
</tr>