<% if mode == :view %> <%=link_to_function(image_tag("tr8n/table_edit.png"), "switchSectionMode('#{section}', 'edit')") %> <% else %> <%=link_to_function(image_tag("tr8n/disk.png"), "submitSection('#{section}')")%> <%=link_to_function(image_tag("tr8n/cancel.png"), "switchSectionMode('#{section}', 'view')")%> <% end %>
<%=trla(label, description) %>