Skip to content

Instantly share code, notes, and snippets.

@deJaVisions
Created October 30, 2011 03:49
Show Gist options
  • Select an option

  • Save deJaVisions/1325442 to your computer and use it in GitHub Desktop.

Select an option

Save deJaVisions/1325442 to your computer and use it in GitHub Desktop.
%form_tag
%fieldset
- 20.times do |index|
text_name = "psa#{index}_text"
date_name = "psa#{index}_date"
%label{:for => 'psa1'}
%input{:type => "text1", :name => text_name, :id => text_name}
%label{:for => "date1"} DATE 1
%input{:type => "text", :name => date_name, :id => date_name}
%br
%div{:align => :right}
=big_button_submit_tag "Analyze"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment