app/renderers/dc_rotator_renderer.rb
########################################################################
# Create code for rotator settings link
########################################################################
Create code for rotator settings link
Create code for rotator settings link
def link_for_rotator_settings
  table = @opts[:table] || @parent.page.class.to_s
  id = (table == 'dc_site') ? @parent.site.id : @parent.page.id
%(  
  #{@parent.dc_link_for_edit(table: 'dc_memory', title: 'helpers.dc_rotator.settings', 
                             form_name: 'dc_rotator_settings', icon: 'cog lg',
                             id: id, location: table, action: 'new',
                             element: @opts[:element] )}
  #{@parent.dc_link_for_create(table: 'dc_rotator', title: 'helpers.dc_rotator.create')}
)
end
def link_for_rotator_settings table = @opts [ :table ] || @parent . page . class . to_s id = ( table == 'dc_site' ) ? @parent . site . id : @parent . page . id %(  
  #{@parent.dc_link_for_edit(table: 'dc_memory', title: 'helpers.dc_rotator.settings', 
                             form_name: 'dc_rotator_settings', icon: 'cog lg',
                             id: id, location: table, action: 'new',
                             element: @opts[:element] )}
  #{@parent.dc_link_for_create(table: 'dc_rotator', title: 'helpers.dc_rotator.create')}
) end
Create code for rotator settings link
Create code for rotator settings link