Sha256: fd0ede70e7ae31bd3e39fd8f7cf92d2564f7c3e533410263140bac323b93be10

Contents?: true

Size: 511 Bytes

Versions: 29

Compression:

Stored size: 511 Bytes

Contents

class Views::CaptureSystemSpec::CaptureWidgetFromWidget < Fortitude::Widgets::Html5
  def content
    widget_text_1 = capture do
      widget Views::CaptureSystemSpec::AnotherWidget.new(:name => "rendered_with_widget")
    end

    widget_text_2 = capture do
      render :partial => 'another_widget', :locals => { :name => "rendered_with_render_partial" }
    end

    text "Rendered with widget:"
    text widget_text_1
    text "Rendered with render_partial:"
    text widget_text_2
    text "END"
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fortitude-0.9.6-java spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.6 spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.5-java spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.5 spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.4-java spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.4 spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.3-java spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.3 spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.2-java spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.2 spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.1-java spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.1 spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.0-java spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.9.0 spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.0.10-java spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.0.10 spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.0.9-java spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.0.9 spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.0.7-java spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb
fortitude-0.0.7 spec/rails/templates/capture_system_spec/app/views/capture_system_spec/capture_widget_from_widget.rb