.visualization-new.container
  %h2 Create Visualization
  .row
    .col-sm-6
      = form_for @visualization, url: {action: "create"} , method: "post" do |f|
        .form-group
          = f.label "visualization-input-title", "Title"
          = f.text_field :name, class: "form-control"
        = f.submit "Create", class: "btn btn-default btn-primary"
.visualization-new.container
  %h2 Create Visualization
  .row
    .col-sm-6
      = form_for @visualization, url: {action: "create"} , method: "post" do |f|
        .form-group
          = f.label :name, "Visualization title"
          = f.text_field :name, class: "form-control"
        .form-group
          = f.label :nodes, "Upload Nodes CSV File"
          = f.file_field :nodes, accept: '.csv', :class => "form-control"
        .form-group
          = f.label :relations, "Upload Relations CSV File"
          = f.file_field :relations, accept: '.csv', :class => "form-control"
        = f.submit "Create", class: "btn btn-default btn-primary"
Add csv files to new visualization form
Add csv files to new visualization form
