Changeset 5d59b45


Ignore:
Timestamp:
Feb 6, 2012 10:06:31 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
Children:
9f2b4446
Parents:
d7a97cc
git-author:
yomguy <yomguy@…> (06/02/2012 22:06:31)
git-committer:
yomguy <yomguy@…> (06/02/2012 22:06:31)
Message:
  • add resource edit and add scrolling for children
  • testing south
Location:
telemeta
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • telemeta/templates/telemeta/resource_add.html

    re73a27f r5d59b45  
    2020         <tr> 
    2121            <tr><td class="error">{{ field.errors }}</td></tr> 
     22            {% if "children" in field.html_name %} 
     23            <td>{{ field.label_tag }}:</td><td><div class="vscroll"> {{ field }}</div></td> 
     24            {% else %} 
    2225            <td>{{ field.label_tag }}:</td><td> {{ field }}</td> 
     26            {% endif %} 
    2327        </tr> 
    2428        {% endfor %} 
  • telemeta/templates/telemeta/resource_edit.html

    re73a27f r5d59b45  
    1818       <tr> 
    1919            <tr><td class="error">{{ field.errors }}</td></tr> 
    20             <td>{{ field.label_tag }}:</td><td> {{ field }}</td> 
     20            {% if "children" in field.html_name %} 
     21            <td>{{ field.label_tag }}:</td><td><div class="vscroll"> {{ field }}</div></td> 
     22            {% else %} 
     23             <td>{{ field.label_tag }}:</td><td> {{ field }}</td> 
     24            {% endif %} 
    2125        </tr> 
    2226       {% endfor %} 
Note: See TracChangeset for help on using the changeset viewer.