Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% content_for('drafts') do%>
- <% view :all_drafts, :outlet=>false, :bind=>{:visible=>'Goar.eventsController.isEventOpened'}do%>
- <%= label_view :class=>'list-header', :value=>'Current Drafts'%>
- <% view :add_button, :view=>'SC.ButtonView', :class=>'icon-button',
- :properties=>{:action=>'Goar.draftsController.addDraft'} do%>
- <img src="<%= static_url('images/icons/docs_16') %>"/>
- <%end%>
- <% view :remove_button, :view=>'SC.ButtonView', :class=>'icon-button',
- :properties=>{:action=>'Goar.draftsController.removeDraft'},
- :bind=>{:enabled=>'Goar.draftsController.hasSelection'} do%>
- <img src="<%= static_url('images/icons/trash_16') %>"/>
- <%end%>
- <% scroll_view do %>
- <%=list_view :drafts, :content_value_key => 'locName',
- :bind => { :content => 'Goar.draftsController.arrangedObjects',
- :selection => 'Goar.draftsController.selection'}%>
- <%end%>
- <%end%>
- <%end%>
Add Comment
Please, Sign In to add comment