Skip to content

Instantly share code, notes, and snippets.

@erichocean
Created July 22, 2008 23:59
Show Gist options
  • Save erichocean/1391 to your computer and use it in GitHub Desktop.
Save erichocean/1391 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'}
%>
<% end %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment