Guest User

Untitled

a guest
Jun 24th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. #this is my show.rhtml with some search partials wrapped around
  2.  
  3. <div><%= flash[:notice] if flash[:notice]%> </div>
  4. <div id="basic_search">
  5. <%= render :partial => "search" %>
  6. </div>
  7. <div id ="advanced_search" style="display:none">
  8. <%= render :partial => "advanced_search" %>
  9. </div>
  10. <span>&nbsp;</span>
  11. <div id="account_detail_content">
  12. <table border='1'>
  13. <tr>
  14. <th>Name</th>
  15. <th>Account Type</th>
  16. <th>Description</th>
  17. <th>Annual Revenue</th>
  18. <th>Office Fax</th>
  19. <th>Rating</th>
  20. <th>Office Phone</th>
  21. <th>Employees</th>
  22. <th>Website</th>
  23. <th>Ticker Symbol</th>
  24. <th>SIC Code</th>
  25. <th>Address</th>
  26. </tr>
  27. <tr><td><%=@account.name%></td>
  28. <td><%=@account.account_type %></td>
  29. <td><%=@account.description%></td>
  30. <td><%=@account.annual_revenue%></td>
  31. <td><%= @account.office_fax%></td>
  32. <td><%=@account.rating%></td>
  33. <td><%=@account.office_phone%></td>
  34. <td><%=@account.employees%></td>
  35. <td><%=@account.website %></td>
  36. <td><%=@account.ticker_symbol%></td>
  37. <td><%=@account.sic_code%></td>
  38.  
  39. <td><%=link_to 'Create a billing address', :controller => 'billing_addresses' ,:action => 'update' , :id => @account.billing_address.id %> | <%=link_to 'Create a shipping address', :controller => 'shipping_addresses' ,:action => 'edit' , :id => @account.shipping_address.id %></td>
  40. </tr>
  41. </table>
  42. <span>&nbsp;</span>
  43. <span style="float:right"><%=link_to 'Create New Account', :action => 'new'%></span>
  44.  
  45. </div>
Add Comment
Please, Sign In to add comment