The working basics

This commit is contained in:
Godwin
2014-03-09 14:43:33 -06:00
parent b490a97852
commit db60933506
628 changed files with 81918 additions and 1060 deletions
@@ -0,0 +1,19 @@
= form_for @conference_registration_response do |f|
- if @conference_registration_response.errors.any?
#error_explanation
%h2= "#{pluralize(@conference_registration_response.errors.count, "error")} prohibited this conference_registration_response from being saved:"
%ul
- @conference_registration_response.errors.full_messages.each do |msg|
%li= msg
.field
= f.label :conference_registration_id
= f.number_field :conference_registration_id
.field
= f.label :registration_form_field_id
= f.number_field :registration_form_field_id
.field
= f.label :data
= f.text_area :data
.actions
= f.submit 'Save'
@@ -0,0 +1,7 @@
%h1 Editing conference_registration_response
= render 'form'
= link_to 'Show', @conference_registration_response
\|
= link_to 'Back', conference_registration_responses_path
@@ -0,0 +1,23 @@
%h1 Listing conference_registration_responses
%table
%tr
%th Conference registration
%th Registration form field
%th Data
%th
%th
%th
- @conference_registration_responses.each do |conference_registration_response|
%tr
%td= conference_registration_response.conference_registration_id
%td= conference_registration_response.registration_form_field_id
%td= conference_registration_response.data
%td= link_to 'Show', conference_registration_response
%td= link_to 'Edit', edit_conference_registration_response_path(conference_registration_response)
%td= link_to 'Destroy', conference_registration_response, :method => :delete, :data => { :confirm => 'Are you sure?' }
%br
= link_to 'New Conference registration response', new_conference_registration_response_path
@@ -0,0 +1,5 @@
%h1 New conference_registration_response
= render 'form'
= link_to 'Back', conference_registration_responses_path
@@ -0,0 +1,15 @@
%p#notice= notice
%p
%b Conference registration:
= @conference_registration_response.conference_registration_id
%p
%b Registration form field:
= @conference_registration_response.registration_form_field_id
%p
%b Data:
= @conference_registration_response.data
= link_to 'Edit', edit_conference_registration_response_path(@conference_registration_response)
\|
= link_to 'Back', conference_registration_responses_path