examples/api-samples/views/sample29.haml in groupdocs-1.5.7 vs examples/api-samples/views/sample29.haml in groupdocs-1.5.8
- old
+ new
@@ -15,16 +15,16 @@
%p
%font{:color => 'red'} #{(defined? err) ? err : ''}
#requestForm{:style => 'padding:20px; border:1px solid black;'}
%p Click "Pick file" to select file which will be uploaded and shown in iframe
%form{:name => 'gdform', :action => '/sample29', :enctype => 'multipart/form-data', :method => 'post'}
- %label{:for => 'client_id'} GroupDocs Client ID
+ %label{:for => 'clientId'} GroupDocs Client ID
%br/
- %input{:type=>'text', :name=>'client_id'}
+ %input{:type=>'text', :name=>'clientId'}
%br/
- %label{:for => 'server_type'} Base path
+ %label{:for => 'serverType'} Base path
%br/
- %input{:type=>'text', :name=>'server_type', :id => 'server_type'}
+ %input{:type=>'text', :name=>'serverType', :id => 'server_type'}
%br/
%input{:id => 'gdButton', :type => 'filepicker', :data => {'fp-store-access' => "public", 'fp-apikey' => "AjhtkJk6rRLWQxanzZAFVz", 'fp-store-path' => "files/"}, :value => 'Upload file', :onChange => "upload(event.fpfile.url)", :style => 'display: block'}
%span{:id => 'results_status', :style => 'color:red;display:none;' } (Please wait for ajax response)
%div{:id => 'iframeDiv', :style => 'padding:20px; border:1px solid black; display: none;'}
%iframe{:id=>"iframe", :frameborder=>"0", :width=>"800", :height=>"650", :src=>""}