mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
show page fixed with all new info
This commit is contained in:
parent
dcc24ea614
commit
de2b64e2c8
@ -1,3 +1,6 @@
|
||||
// Place all the styles related to the Characters controller here.
|
||||
// They will automatically be included in application.css.
|
||||
// You can use Sass (SCSS) here: http://sass-lang.com/
|
||||
.form-actions {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
@ -2,9 +2,11 @@
|
||||
|
||||
<%= render :partial => 'tabs' %>
|
||||
|
||||
<dl class="dl-horizontal">
|
||||
<dl class="dl-horizontal hidden section" id="appearance_section">
|
||||
<dt><strong><%= model_class.human_attribute_name(:name) %>:</strong></dt>
|
||||
<dd><%= @character.name %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:gender) %>:</strong></dt>
|
||||
<dd><%= @character.gender %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:age) %>:</strong></dt>
|
||||
<dd><%= @character.age %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:weight) %>:</strong></dt>
|
||||
@ -17,6 +19,8 @@
|
||||
<dd><%= @character.hairstyle %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:eyecolor) %>:</strong></dt>
|
||||
<dd><%= @character.eyecolor %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:race) %>:</strong></dt>
|
||||
<dd><%= @character.race %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:skintone) %>:</strong></dt>
|
||||
<dd><%= @character.skintone %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:bodytype) %>:</strong></dt>
|
||||
@ -25,6 +29,64 @@
|
||||
<dd><%= @character.identmarks %></dd>
|
||||
</dl>
|
||||
|
||||
<dl class="dl-horizontal hidden section" id="social_section">
|
||||
<dt><strong>Best friend:</strong></dt>
|
||||
<dd><%= @character.bestfriend %></dd>
|
||||
<dt><strong>Religion:</strong></dt>
|
||||
<dd><%= @character.religion %></dd>
|
||||
<dt><strong>Politics:</strong></dt>
|
||||
<dd><%= @character.politics %></dd>
|
||||
<dt><strong>Prejudices:</strong></dt>
|
||||
<dd><%= @character.prejudices %></dd>
|
||||
<dt><strong>Occupation:</strong></dt>
|
||||
<dd><%= @character.occupation %></dd>
|
||||
<dt><strong>Pets:</strong></dt>
|
||||
<dd><%= @character.pets %></dd>
|
||||
</dl>
|
||||
|
||||
<dl class="dl-horizontal hidden section" id="behavior_section">
|
||||
<dt><strong><%= model_class.human_attribute_name(:mannerisms) %>:</strong></dt>
|
||||
<dd><%= @character.mannerisms %></dd>
|
||||
</dl>
|
||||
|
||||
<dl class="dl-horizontal hidden section" id="history_section">
|
||||
<dt><strong><%= model_class.human_attribute_name(:birthday) %>:</strong></dt>
|
||||
<dd><%= @character.birthday %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:birthplace) %>:</strong></dt>
|
||||
<dd><%= @character.birthplace %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:education) %>:</strong></dt>
|
||||
<dd><%= @character.education %></dd>
|
||||
</dl>
|
||||
|
||||
<dl class="dl-horizontal hidden section" id="favorites_section">
|
||||
<dt><strong><%= model_class.human_attribute_name(:color) %>:</strong></dt>
|
||||
<dd><%= @character.fave_color %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:food) %>:</strong></dt>
|
||||
<dd><%= @character.fave_food %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:possession) %>:</strong></dt>
|
||||
<dd><%= @character.fave_possession %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:weapon) %>:</strong></dt>
|
||||
<dd><%= @character.fave_weapon %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:animal) %>:</strong></dt>
|
||||
<dd><%= @character.fave_animal %></dd>
|
||||
</dl>
|
||||
|
||||
<dl class="dl-horizontal hidden section" id="relationships_section">
|
||||
<dt><strong><%= model_class.human_attribute_name(:father) %>:</strong></dt>
|
||||
<dd><%= @character.father %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:mother) %>:</strong></dt>
|
||||
<dd><%= @character.mother %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:spouse) %>:</strong></dt>
|
||||
<dd><%= @character.spouse %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:siblings) %>:</strong></dt>
|
||||
<dd><%= @character.siblings %></dd>
|
||||
<dt><strong><%= model_class.human_attribute_name(:archenemy) %>:</strong></dt>
|
||||
<dd><%= @character.archenemy %></dd>
|
||||
</dl>
|
||||
|
||||
<dl class="dl-horizontal hidden section" id="more_section">
|
||||
</dl>
|
||||
|
||||
<div class="form-actions">
|
||||
<%= link_to t('.back', :default => t("helpers.links.back")),
|
||||
character_list_path, :class => 'btn' %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user