details: http://www.bx.psu.edu/hg/galaxy/rev/ef5215401458 changeset: 2919:ef5215401458 user: rc date: Mon Oct 26 14:01:46 2009 -0400 description: Fixed a bug in viewing request type
1 file(s) affected in this change:
templates/admin/requests/view_request_type.mako
diffs (21 lines):
diff -r b53985e5548c -r ef5215401458 templates/admin/requests/view_request_type.mako --- a/templates/admin/requests/view_request_type.mako Fri Oct 23 18:49:18 2009 -0400 +++ b/templates/admin/requests/view_request_type.mako Mon Oct 26 14:01:46 2009 -0400 @@ -5,8 +5,6 @@ %if msg: ${render_msg( msg, messagetype )} %endif - -<% num_states=len(states_list) %>
<div class="toolForm"> <div class="toolFormTitle">View request type details</div> @@ -38,7 +36,7 @@ <label> Possible states </label> - %for element_count, state in enumerate(states_list): + %for element_count, state in enumerate(states_list.all()): <div class="form-row"> <label>${1+element_count}. ${state.name}</label> ${state.desc}
galaxy-dev@lists.galaxyproject.org