Finishing contracts, changing from s3.yml to .env

This commit is contained in:
2014-03-02 19:06:39 -07:00
parent c74da562bc
commit cac59e9de5
19 changed files with 118 additions and 41 deletions

View File

@@ -170,7 +170,13 @@ margin-right: auto;
<p>
<b>Waiver?</b>
<%= @user.waiver.strftime("%B %d %Y") unless @user.waiver.blank? %>
<%= @user.waiver.strftime("%B %d %Y") unless @user.waiver.blank? %><br/>
<b>Contracts:</b> <%= link_to "+ Add", new_contract_path, :class => 'btn' if can? :create, Contract %>
<ul>
<% @user.contracts.each do |contract| %>
<li><%= link_to contract.signed_at.strftime("%B %d %Y"), contract %></li>
<% end %>
</ul>
</p>
<p>