Sha256: f3ae0c519fbf0169a8fd6a510538826e23073d1001638d1d6aa87e917bbddeb8
Contents?: true
Size: 789 Bytes
Versions: 7
Compression:
Stored size: 789 Bytes
Contents
<%= form_for form_response, :as => 'form_response', :url => noodall_form_form_responses_path(form.id), :html => { :class => ('default-values' if params[:response].blank?) } do |f| %> <%= f.hidden_field :referrer %> <h2><%= form.title %></h2> <p class="required"><span>*</span> Required</p> <%= error_messages_for :object => form_response %> <% for field in form.fields %> <div class="form-wrap"> <%= render :partial => "noodall/form_responses/fields/#{field_type(field)}", :locals => {:form_response => form_response, :f => f, :field => field} %> </div> <% end %> <p class="buttons"> <%= f.submit 'Send', :id => "form-submit" %> <%= f.submit "Reset Form", :name => 'reset', :type => 'reset', :id => "form-reset" %> </p> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems