Created
April 16, 2012 15:00
-
-
Save asavin/2399291 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="image_attachment"> | |
| <div class="attachment_text"> | |
| Update item photo<br /> | |
| <small>(will replace old one)</small> | |
| </div> | |
| <div class="attachment_button"> | |
| <%= f.fields_for :assets do |asset| %> | |
| <%= asset.file_field :photo %> | |
| <% end %> | |
| </div> | |
| </div> | |
| <div class="image_attachment"> | |
| <div class="attachment_text"> | |
| Update receipt<br /> | |
| <small>(will replace old one)</small> | |
| </div> | |
| <div class="attachment_button"> | |
| <%= f.fields_for :receipts do |receipt| %> | |
| <%= receipt.file_field :photo %> | |
| <% end %> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment