Sha256: 977cbe2acd313d727169fa3ea3d97ea8dffca5fae97db6b1797dd6f1cbac0a61

Contents?: true

Size: 1.88 KB

Versions: 4

Compression:

Stored size: 1.88 KB

Contents

%h3{:style => 'text-align:center;'}
  %a{:href => '/'} GroupDocs Ruby SDK Samples
  \- Sample22
.samplecontent{:style => 'padding:10px;'}
  %i This sample will show how to View Document pages as images using Ruby SDK
  %br/
  %br/
  %span.documentation
    %a{:href => '/docs/sample22.html'} Builtin documentation for this sample
  %br/
  %br/
  %p
    You entered:
  %p
    UserId = #{(defined? userId) ? userId : ''}
  %p
    PrivateKey = #{(defined? privateKey) ? privateKey : ''}
  %p
    FileId = #{(defined? fileId) ? fileId : ''}
  %p
    Email = #{(defined? email) ? email : ''}
  %p
    First Name = #{(defined? first_name) ? first_name : ''}
  %p
    Last Name = #{(defined? last_name) ? last_name : ''}
  %p
    %font{:color => 'red'} #{(defined? err) ? err : ''}
  %br/
  #requestForm{:style => 'padding:20px; border:1px solid black;'}
    %p Enter data for request and press "Make request" button
    %form{:action => '/sample22', :method => 'post'}
      %label{:for => 'client_id'} GroupDocs ClientID
      %br/
      %input{:type=>'text', :name=>'client_id'}
      %br/
      %label{:for => 'private_key'} GroupDocs PrivateKey
      %br/
      %input{:type=>'text', :name=>'private_key'}
      %br/
      %label{:for => 'file_id'} GroupDocs FileID
      %br/
      %input{:type=>'text', :name=>'fileId'}
      %br/
      %label{:for => 'email'} E-mail
      %br/
      %input{:type=>'text', :name=>'email'}
      %br/
      %label{:for => 'first_name'} First name
      %br/
      %input{:type=>'text', :name=>'first_name'}
      %br/
      %label{:for => 'last_name'} Last name
      %br/
      %input{:type=>'text', :name=>'last_name'}
      %br/
      %input{:type => 'submit', :value => 'Make request'}/
    %div{:style => 'padding:20px; border:1px solid black;'}
      %p
        Results:
        #{(defined? message) ? message : ''}
        #{(defined? iframe) ? iframe : ''}

= partial :_others_samples

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
groupdocs-1.5.7 examples/api-samples/views/sample22.haml
groupdocs-1.5.6 examples/api-samples/views/sample22.haml
groupdocs-1.5.5 examples/api-samples/views/sample22.haml
groupdocs-1.5.4 examples/api-samples/views/sample22.haml