notes on all models but universe

This commit is contained in:
Andrew Brown 2013-03-11 23:43:51 -05:00
parent 5be1d4649f
commit cf5e75e970
20 changed files with 63 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class Character
field :archenemy, :type => String
# More...
#additional notes
field :notes, :type => String
#additional fields
belongs_to :user

View File

@ -20,6 +20,7 @@ class Equipment
field :magic, :type => String # Magical Properties
# More
field :notes, :type => String
belongs_to :user
end

View File

@ -16,6 +16,7 @@ class Language
field :locations, :type => String
# More
field :notes, :type => String
belongs_to :user
end

View File

@ -29,6 +29,7 @@ class Location
field :notable_wars, :type => String
# More
field :notes, :type => String
belongs_to :user
end

View File

@ -24,6 +24,7 @@ class Magic
field :limitations, :type => String
# More
field :notes, :type => String
belongs_to :user
end

View File

@ -246,6 +246,11 @@
</div>
<div class="hidden section more_section">
<%= f.label 'Notes', :class => 'control-label' %>
<div class="controls">
<%= f.text_area :notes, :class => 'text_area', :rows => 12, :style => "width: 80%;" %>
</div>
</div>
</div>
<div class="form-actions">

View File

@ -246,6 +246,11 @@
</div>
<div class="hidden section more_section">
<%= f.label 'Notes', :class => 'control-label' %>
<div class="controls">
<%= f.text_area :notes, :class => 'text_area', :rows => 12, :style => "width: 80%;" %>
</div>
</div>
</div>
<div class="form-actions">

View File

@ -57,6 +57,7 @@
</dl>
<dl class="dl-horizontal hidden section more_section">
<%= print_property("Notes", @character.notes, "") %>
</dl>
<div class="form-actions">

View File

@ -77,6 +77,11 @@
</div>
<div class="hidden section more_section">
<%= f.label 'Notes', :class => 'control-label' %>
<div class="controls">
<%= f.text_area :notes, :class => 'text_area', :rows => 12, :style => "width: 80%;" %>
</div>
</div>
</div>
<div class="form-actions">

View File

@ -77,6 +77,11 @@
</div>
<div class="hidden section more_section">
<%= f.label 'Notes', :class => 'control-label' %>
<div class="controls">
<%= f.text_area :notes, :class => 'text_area', :rows => 12, :style => "width: 80%;" %>
</div>
</div>
</div>
<div class="form-actions">

View File

@ -25,6 +25,7 @@
</dl>
<dl class="dl-horizontal hidden section more_section">
<%= print_property("Notes", @equipment.notes, "") %>
</dl>
<div class="form-actions">

View File

@ -50,6 +50,11 @@
</div>
<div class="hidden section more_section">
<%= f.label 'Notes', :class => 'control-label' %>
<div class="controls">
<%= f.text_area :notes, :class => 'text_area', :rows => 12, :style => "width: 80%;" %>
</div>
</div>
</div>
<div class="form-actions">

View File

@ -50,6 +50,11 @@
</div>
<div class="hidden section more_section">
<%= f.label 'Notes', :class => 'control-label' %>
<div class="controls">
<%= f.text_area :notes, :class => 'text_area', :rows => 12, :style => "width: 80%;" %>
</div>
</div>
</div>
<div class="form-actions">

View File

@ -21,6 +21,7 @@
</dl>
<dl class="dl-horizontal hidden section more_section">
<%= print_property("Notes", @language.notes, "") %>
</dl>
<div class="form-actions">

View File

@ -115,6 +115,11 @@
</div>
<div class="hidden section more_section">
<%= f.label 'Notes', :class => 'control-label' %>
<div class="controls">
<%= f.text_area :notes, :class => 'text_area', :rows => 12, :style => "width: 80%;" %>
</div>
</div>
</div>
<div class="form-actions">

View File

@ -115,6 +115,11 @@
</div>
<div class="hidden section more_section">
<%= f.label 'Notes', :class => 'control-label' %>
<div class="controls">
<%= f.text_area :notes, :class => 'text_area', :rows => 12, :style => "width: 80%;" %>
</div>
</div>
</div>
<div class="form-actions">

View File

@ -33,6 +33,7 @@
</dl>
<dl class="dl-horizontal hidden section more_section">
<%= print_property("Notes", @location.notes, "") %>
</dl>
<div class="form-actions">

View File

@ -90,6 +90,11 @@
</div>
<div class="hidden section more_section">
<%= f.label 'Notes', :class => 'control-label' %>
<div class="controls">
<%= f.text_area :notes, :class => 'text_area', :rows => 12, :style => "width: 80%;" %>
</div>
</div>
</div>
<div class="form-actions">

View File

@ -90,6 +90,11 @@
</div>
<div class="hidden section more_section">
<%= f.label 'Notes', :class => 'control-label' %>
<div class="controls">
<%= f.text_area :notes, :class => 'text_area', :rows => 12, :style => "width: 80%;" %>
</div>
</div>
</div>
<div class="form-actions">

View File

@ -29,6 +29,10 @@
<%= print_property("Limitations", @magic.limitations, "") %>
</dl>
<dl class="dl-horizontal hidden section more_section">
<%= print_property("Notes", @magic.notes, "") %>
</dl>
<div class="form-actions">
<%= link_to t('.back', :default => t("helpers.links.back")),
magic_list_path, :class => 'btn' %>