Changeset 1498ae1


Ignore:
Timestamp:
Nov 14, 2011 3:14:45 PM (3 years ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, dev, dev2, diadems, dj1.6, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, forma, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, production, release/1.4.4, sabiod, security, server, social, storage, telecaster, test, video
Children:
d4c2dd3, 993e056
Parents:
57cb399
git-author:
yomguy <yomguy@…> (14/11/2011 15:14:45)
git-committer:
yomguy <yomguy@…> (14/11/2011 15:14:45)
Message:

fix collection hidden fields

Location:
telemeta/templates/telemeta_default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • telemeta/templates/telemeta_default/collection_add.html

    r57cb399 r1498ae1  
    1717        <tr><td colspan="2">{% for error in form.non_field_errors %}<li class="error">{{ error }}</li>{% endfor %}</td></tr> 
    1818        {% for field in form %} 
    19             {% if not field.html_name == "copied_from_item" or not field.html_name == "doctype_code" %} 
     19            {% if not field.html_name == "copied_from_item" and not field.html_name == "doctype_code" %} 
    2020            <tr> 
    2121                <tr><td class="error">{{ field.errors }}</td></tr> 
  • telemeta/templates/telemeta_default/collection_edit.html

    r57cb399 r1498ae1  
    1616       <tr><td colspan="2">{% for error in form.non_field_errors %}<li class="error">{{ error }}</li>{% endfor %}</td></tr> 
    1717       {% for field in form %} 
    18         {% if not field.html_name == "copied_from_item" or not field.html_name == "doctype_code" %} 
     18        {% if not field.html_name == "copied_from_item" and not field.html_name == "doctype_code" %} 
    1919        <tr> 
    2020            <tr><td class="error">{{ field.errors }}</td></tr> 
Note: See TracChangeset for help on using the changeset viewer.