Sha256: 9abf6ad5a6e913f70a5aa09591f221e26de5f0b3aa4c709f43685a84cd351046

Contents?: true

Size: 741 Bytes

Versions: 1

Compression:

Stored size: 741 Bytes

Contents

/ RubyApp::Elements::Pages::TestPages::ExceptionTestPage
- content_for(:content) do
  %div.test
    = self.class.translate.refresh_instructions
    %div
      - if ( @count ||= 1 ) > 5
        - @count = 1
        - raise self.class.translate.refresh_exception
      - else
        = self.class.translate.refresh_content(@count)
        - @count += 1
  %div.test
    = self.class.translate.update_instructions
    = @content.render(:html)
    = @update_link.render(:html) do |element|
      - element.content_for(:body, self.class.translate.update_link)
  %div.test
    = self.class.translate.dialog_instructions
    %div
      = @dialog_link.render(:html) do |element|
        - element.content_for(:body, self.class.translate.dialog_link)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
_rubyapp-0.0.3 lib/rubyapp/elements/pages/test_pages/exception_test_page.html.haml