Created
May 8, 2012 15:21
-
-
Save sam/2636232 to your computer and use it in GitHub Desktop.
Components
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
| <td> | |
| <FormattedDate | |
| id="search_item_expiration_date[]" | |
| format="admin-long" | |
| value=#rsrs.created_at /> | |
| </td> |
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
| doc.search_item_expiration_date.map do |item| | |
| item.value | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note, the element name is a Class name under the UI namespace.
Values are bound with the # symbol. The value attribute name in this case is just an accessor on the UI class, the name itself isn't significant, it could as easily be date. Any attribute could be bound to data in this way.