Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #this is my show.rhtml with some search partials wrapped around
- <div><%= flash[:notice] if flash[:notice]%> </div>
- <div id="basic_search">
- <%= render :partial => "search" %>
- </div>
- <div id ="advanced_search" style="display:none">
- <%= render :partial => "advanced_search" %>
- </div>
- <span> </span>
- <div id="account_detail_content">
- <table border='1'>
- <tr>
- <th>Name</th>
- <th>Account Type</th>
- <th>Description</th>
- <th>Annual Revenue</th>
- <th>Office Fax</th>
- <th>Rating</th>
- <th>Office Phone</th>
- <th>Employees</th>
- <th>Website</th>
- <th>Ticker Symbol</th>
- <th>SIC Code</th>
- <th>Address</th>
- </tr>
- <tr><td><%=@account.name%></td>
- <td><%=@account.account_type %></td>
- <td><%=@account.description%></td>
- <td><%=@account.annual_revenue%></td>
- <td><%= @account.office_fax%></td>
- <td><%=@account.rating%></td>
- <td><%=@account.office_phone%></td>
- <td><%=@account.employees%></td>
- <td><%=@account.website %></td>
- <td><%=@account.ticker_symbol%></td>
- <td><%=@account.sic_code%></td>
- <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>
- </tr>
- </table>
- <span> </span>
- <span style="float:right"><%=link_to 'Create New Account', :action => 'new'%></span>
- </div>
Add Comment
Please, Sign In to add comment