Best Practices for Form Design
View more documents from psykoreactor.
This blog is dedicated to ruby on rails. I will particularly focus on the usage of Rails on Windows with MSSQLServer as it is currently a scarce ressource on the web. Version of rails expected is rails 2.3.5 minimum.
<% case validation.OutputFile
when "LIMIT" %>
<%= link_to image_tag("icons/application_edit.png") , :controller => 'limits' ,:action => "show", :id => validation.Original_id %>
<% when "COUNTERPART" %>
<%= link_to image_tag("icons/application_edit.png") , :controller => 'counterparties' ,:action => "show", :id => validation.Original_id %>
<% when "PROVISIONS" %>
<%= link_to image_tag("icons/application_edit.png") , :controller => 'provisions' ,:action => "show", :id => validation.Original_id %>
<% when "NOSTRO" %>
<%= link_to image_tag("icons/application_edit.png") , :controller => 'nostros' ,:action => "show", :id => validation.Original_id %>
<% when "OTC" %>
<%= link_to image_tag("icons/application_edit.png") , :controller => 'derivatives' ,:action => "show", :id => validation.Original_id %>
<% when "LOANBOOK" %>
<%= link_to image_tag("icons/application_edit.png") , :controller => 'loanbooks' ,:action => "show", :id => validation.Original_id %>
<% else %>
<%=h "-" %>
<% end %>