summaryrefslogtreecommitdiff
path: root/views/create.haml
blob: 947721027802fa48abe9b793573d65b2699716fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.upload
  %form{ :action => url_for('/upload'), :method => "post", :enctype => "multipart/form-data" }
    %ol
      %li 
        %label{:for => 'endpoint'}Enter endpoint name:
        %input{:type => 'text', :name => 'endpoint', :id => 'endpoint'}
      %li
        %label{:for => 'file'}
          Upload training data in CSV format:
        %input{:type => 'file', :name => 'file', :id => 'file'}
        (
        = link_to "formatting instructions ", 'csv_format'
        )
      %li
        %input{ :type => "submit", :value => "Create model"}
        = link_to "Cancel", 'create'