Sha256: ac07afd04eed8876a45e49580afe9da76fc31a515f03497d29c68babb4110abd

Contents?: true

Size: 420 Bytes

Versions: 9

Compression:

Stored size: 420 Bytes

Contents

= form_for @screenshot, :url => upload_screenshot_path, :html => {:class => 'pageForm'} do |f|
  %dl
    %dt= f.label :upload_file, "Upload File"
    %dd.padded
      - if params[:filename]
        = params[:filename]
      - else
        = f.file_field :upload_file

  %dl
    %dt= f.label :alt_text, "Screenshot Title"
    %dd= f.text_field :alt_text

  %p.submit
    = f.submit "Upload Screenshot", :class => 'button'

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
documentation-1.0.9 app/views/documentation/pages/screenshot.html.haml
documentation-1.0.8 app/views/documentation/pages/screenshot.html.haml
documentation-1.0.7 app/views/documentation/pages/screenshot.html.haml
documentation-1.0.6 app/views/documentation/pages/screenshot.html.haml
local_documentation-1.0.0 app/views/documentation/pages/screenshot.html.haml
documentation-1.0.5 app/views/documentation/pages/screenshot.html.haml
documentation-1.0.4 app/views/documentation/pages/screenshot.html.haml
documentation-1.0.3 app/views/documentation/pages/screenshot.html.haml
documentation-1.0.2 app/views/documentation/pages/screenshot.html.haml