Sha256: ae55c9c095cdf0bce6a92c5465528a0d1ce2fe978c9479f4126d59f4fd7866d8

Contents?: true

Size: 795 Bytes

Versions: 4

Compression:

Stored size: 795 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 %>
sdfsdf

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
noodall-form-builder-0.5.4 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.5.3 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.5.2 app/views/noodall/form_responses/_form.html.erb
noodall-form-builder-0.5.0 app/views/noodall/form_responses/_form.html.erb