Skip to content

Instantly share code, notes, and snippets.

@erichocean
Created July 23, 2008 00:58
Show Gist options
  • Save erichocean/1424 to your computer and use it in GitHub Desktop.
Save erichocean/1424 to your computer and use it in GitHub Desktop.
<% view :contacts do %>
<div id="console"></div>
<h1>Contacts (<%= label_view :contacts_count, :outlet => true, :tag => :span, :bind => { :value => 'Ring.contactsController*content.count'} %>)</h1>
<% scroll_view :contacts_scroll, :outlet => true do %>
<%= list_view :contacts_list, :outlet => true,
:content_value_key => 'firstName',
:bind => {
:content => 'Ring.contactsController.arrangedObjects',
:selection => 'Ring.contactsController.selection'
}
%>
<% end %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment