Sha256: e27b7e4247465d577c89147200d1461da014c6770b62ea96448bc3a886b28235

Contents?: true

Size: 810 Bytes

Versions: 15

Compression:

Stored size: 810 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.gsub(/^.*::/, '').downcase}", :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

15 entries across 15 versions & 1 rubygems

Version Path
noodall-form-builder-0.2.11 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.2.10 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.2.9 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.2.8 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.2.7 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.2.5 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.2.4 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.2.3 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.2.2 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.2.1 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.2.0 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.1.3 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.1.2 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.1.1 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.1.0 app/views/noodall/form_responses/_form.html.erb