%%= form_for(@transcription) do |f| %>
<%% if @transcription.errors.any? %>
<% if [:string, :integer, :float, :decimal].include?(type) %>
<%= col.titleize %>
<%%= label_tag :<%= col %>, "Your attribute description here" %>
<%%= f.text_field :<%= col %>, {:class => "wwwinput", :tabindex => 3} %>
<% end %>
<% if [:text].include?(type) %>
<%= col.titleize %>
<%%= f.label :<%= col %>, "Your attribute description here" %>
<%%= f.text_area :<%= col %>, :size => "26x8", :class => "wwwinput", :style => "padding:5px;width:98%", :tabindex => 6 %>
<% end %>
<% end %>
<%%= hidden_field_tag "<%= @table.singularize %>_id", @<%= @table.singularize %>.id %>
<%%= submit_tag "Submit", :class => "fancy_btn full_width_btn green-btn", :id => "transcriptionsubmit" %>
<%% end %>