app/views/genotypes/_form.html.erb
<div class="col-md-7 well new-genotype__disclaimer">
<%=render "static/disclaimer"%>
</div>
<div class="col-md-4 col-md-offset-1 well new-genotype__form">
<%= form_for(@genotype) do |f| %>
<h3>Provide your genotyping file</h3>
<small class="help-block">Zipped genotypings (currently only <code>*.zip</code>) are fine too.</small>
<%= f.file_field :genotype %>
</br>
<%= f.label :filetype %>
<div class="radio">
<label for="">
<%= f.radio_button :filetype,"23andme" %>
23andme-format
</label>
</div>
<div class="radio">
<label for="">
<%= f.radio_button :filetype,"decodeme"%>
deCODEme-format
</label>
</div>
<div class="radio">
<label for="">
<%= f.radio_button :filetype,"ftdna-illumina"%>
FamilyTreeDNA, Illumina-Format
</label>
</div>
<div class="radio">
<label for="">
<%= f.radio_button :filetype,"ancestry"%>
AncestryDNA data
</label>
</div>
<div class="radio">
<label for="">
<%= f.radio_button :filetype,"23andme-exome-vcf"%>
23andMe-EXOME, VCF-format
</label>
</div>
<div class="radio">
<label for="">
<%= f.radio_button :filetype,"IYG"%>
IYG-format (EBI genotyping participants)
</label>
</div>
<br/>Not sure which type to choose? Take a look at our <%=link_to("FAQ","/faq#filetypes")%>.<br/><br/>
<%= f.submit "Upload", :class => "btn btn-primary" %>
<% end %>
</div>