- Timestamp:
- 07/05/10 14:51:56 (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/loreality/loreality/templates/derived/page/mission_edit.html
r2104 r2105 3 3 4 4 5 <h2> ${c.mission.name}</h2>5 <h2><a href=${h.url_for(controller='mission', action='view',id=c.mission.id) }>${c.mission.name}</a></h2> 6 6 7 7 % if h.auth.authorized(h.auth.is_creator): 8 8 ${h.form(h.url_for(controller='mission', action='process', id=c.mission.id))} 9 <label for="name">Name</label><br /> 10 ${h.text(name='name')} 9 <label for="name">Name</label> 10 ${h.text(name='name')}<br /> 11 <label for="description">Description</label> 12 ${h.text(name='description')}<br /> 13 <label for="date">Date</label> 14 ${h.text(name='date')}<br /> 11 15 ${h.submit(name="action", value="Modify")} 12 16 </fieldset> … … 18 22 <li><a href=${h.url_for(controller='pilot', action='view',id=pilot.id) }>${pilot.name}</a> 19 23 % if h.auth.authorized(h.auth.is_creator): 20 <a href=${h.url_for(controller='pilot', action='edit',id=pilot.id) } >[Edit]</a>21 <a href=${h.url_for(pilotid=pilot.id, controller='mission', action='removepilot',id=c.mission.id) } >[Remove]</a></li>24 <a href=${h.url_for(controller='pilot', action='edit',id=pilot.id) } class="action">[Edit]</a> 25 <a href=${h.url_for(pilotid=pilot.id, controller='mission', action='removepilot',id=c.mission.id) } class="action">[Remove]</a></li> 22 26 %endif 23 27 %endfor … … 26 30 ${campaign.add_pilot(c.mission.id, c.available_pilots)} 27 31 %endif 28 <a href=${h.url_for(controller='campaign', action='view',id=c.mission.campaign_id) }>[Back to campaign]</a></li> 32 <hr /> 33 <a href=${h.url_for(controller='campaign', action='view',id=c.mission.campaign_id) } class="action">[Back to campaign]</a></li>
Note: See TracChangeset
for help on using the changeset viewer.
