<% #Expected Passed-in Parameters Below data=data #Calculate Useful Variables first_version=(nil == data[:registry_settings][1]) tenant_info=data quotas_origin=Yajl::load(data[:registry_settings][0][:settings]) quotas_prev= first_version ? nil : (Yajl::load(data[:registry_settings][1][:settings])) message="Admin proposed some modifications on your request. You may ACCEPT or MODIFY it." who='applicant' review=true comment_list=get_comment_list_from_data(data) %>
<%=message%>
Edit Your Request <%=erb :tenant_options, :locals => { :who=>who, :review=>review, :tenant_info=>tenant_info, :quotas_origin=>quotas_origin, :quotas_prev=>quotas_prev } %>
<%=erb :comment_list, :locals => {:comment_list=>comment_list} %> <%=erb :inform_comment_dialog%>