Permalink
Browse files

remove distribution from proposals as that will be part of project

  • Loading branch information...
Rija Ménagé
Rija Ménagé committed Feb 6, 2014
1 parent 2f86e8c commit 7f729c1adfa51f783eaa7acbf36805cb713919c9
@@ -69,6 +69,6 @@ def set_proposal

# Never trust parameters from the scary internet, only allow the white list through.
def proposal_params
params.require(:proposal).permit(:topic_synopsis, :premise, :outline, :conflicts, :audience, :characters, :interviews, :form_style, :resolution, :differentiation, :distribution, :project_id)
params.require(:proposal).permit(:topic_synopsis, :premise, :outline, :conflicts, :audience, :characters, :interviews, :form_style, :resolution, :differentiation, :project_id)
end
end
@@ -146,7 +146,7 @@ special attention and significant? What is this character trying to do or to get

</fieldset>

<fieldset>
<!-- <fieldset>
<legend>What will make the project stand out</legend>
<div class="field">
<%= f.label :differentiation %><br>
@@ -169,7 +169,7 @@ special attention and significant? What is this character trying to do or to get
</span>
</div>
</fieldset>
</fieldset> -->
<hr/>
<div class="actions">
<p>
@@ -76,10 +76,6 @@

<hr/>

<p>
<strong>Distribution:</strong>
<%= @proposal.distribution %>
</p>

<hr/>

@@ -0,0 +1,13 @@
class RemoveDistributionFromProposals < ActiveRecord::Migration
def up
change_table :proposals do |t|
t.remove :distribution
end
end

def down
change_table :proposals do |t|
t.text :distribution
end
end
end
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20140206005956) do
ActiveRecord::Schema.define(version: 20140206051228) do

create_table "budget_lines", force: true do |t|
t.integer "phase"
@@ -169,7 +169,6 @@
t.text "form_style", limit: 255
t.text "resolution", limit: 255
t.text "differentiation", limit: 255
t.text "distribution", limit: 255
t.integer "project_id"
t.datetime "created_at"
t.datetime "updated_at"

0 comments on commit 7f729c1

Please sign in to comment.