examples/api-samples/views/sample13.haml in groupdocs-1.5.7 vs examples/api-samples/views/sample13.haml in groupdocs-1.5.8
- old
+ new
@@ -10,11 +10,11 @@
%br/
%br/
%p
You entered:
%p
- UserId = #{(defined? userId) ? userId : ''}
+ UserId = #{(defined? clientId) ? clientId : ''}
%p
PrivateKey = #{(defined? privateKey) ? privateKey : ''}
%p
FileId = #{(defined? fileId) ? fileId : ''}
%p
@@ -23,31 +23,37 @@
%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 => '/sample13', :method => 'post'}
- %label{:for => 'client_id'} GroupDocs ClientID
+ %label{:for => 'clientId'} GroupDocs ClientID
%br/
- %input{:type=>'text', :name=>'client_id'}
+ %input{:type=>'text', :name=>'clientId'}
%br/
- %label{:for => 'private_key'} GroupDocs PrivateKey
+ %label{:for => 'privateKey'} GroupDocs PrivateKey
%br/
- %input{:type=>'text', :name=>'private_key'}
+ %input{:type=>'text', :name=>'privateKey'}
%br/
- %label{:for => 'file_id'} GroupDocs FileID
+ %label{:for => 'fileId'} GroupDocs FileID
%br/
%input{:type=>'text', :name=>'fileId'}
%br/
%label{:for => 'email'} Collaborator Email
%br/
%input{:type=>'text', :name=>'email'}
%br/
+ %label{:for => 'basePath'} Base Path
+ %span{:class => 'optional'} (Optional)
%br/
+ %input{:type=>'text', :name=>'basePath'}
+ %br/
+ %br/
%input{:type => 'submit', :value => 'Make request'}/
- %div{:style => 'padding:20px; border:1px solid black;'}
- %p
- Result:
-
- - if defined? result.first
- #{result.first.primary_email}
+ %div{:style => 'padding:20px; border:1px solid black;'}
+ %p
+ Result:
+ %p
+ New collaborations:
+ - if defined? result.first
+ %span{:style => "color: green"}#{result.first.primary_email}
= partial :_others_samples
\ No newline at end of file