mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
bring back description to general tab on equipment?
This commit is contained in:
parent
2743fa5d51
commit
aebd72dad6
@ -12,15 +12,15 @@
|
||||
<%= f.text_field :equip_type, :class => 'text_field' %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hidden section appearance_section">
|
||||
<div class="control-group">
|
||||
<%= f.label 'Description', :class => 'control-label' %>
|
||||
<div class="controls">
|
||||
<%= f.text_area :description, :class => 'text_field', :rows => 3 %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hidden section appearance_section">
|
||||
<div class="control-group">
|
||||
<%= f.label 'Weight', :class => 'control-label' %>
|
||||
<div class="controls">
|
||||
|
||||
@ -12,15 +12,15 @@
|
||||
<%= f.text_field :equip_type, :class => 'text_field', :value => (params[:type_of] || "").capitalize %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hidden section appearance_section">
|
||||
<div class="control-group">
|
||||
<%= f.label 'Description', :class => 'control-label' %>
|
||||
<div class="controls">
|
||||
<%= f.text_area :description, :class => 'text_field', :rows => 3 %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hidden section appearance_section">
|
||||
<div class="control-group">
|
||||
<%= f.label 'Weight', :class => 'control-label' %>
|
||||
<div class="controls">
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
<tr>
|
||||
<th><%= model_class.human_attribute_name(:name) %></th>
|
||||
<th><%= model_class.human_attribute_name(:type) %></th>
|
||||
<th><%= model_class.human_attribute_name(:description) %></th>
|
||||
<th><%=t '.actions', :default => t("helpers.actions") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -14,6 +15,7 @@
|
||||
<tr>
|
||||
<td style="width: 260px;"><%= simple_format link_to equipment.name, equipment_path(equipment) %></td>
|
||||
<td><%= simple_format equipment.equip_type %></td>
|
||||
<td><%= simple_format equipment.description %></td>
|
||||
<td style="width: 130px;">
|
||||
<%= link_to t('.view', :default => t("helpers.links.view")),
|
||||
equipment_path(equipment), :class => 'btn btn-mini' %>
|
||||
|
||||
@ -5,10 +5,10 @@
|
||||
<dl class="dl-horizontal hidden section general_section">
|
||||
<%= print_property("Name", @equipment.name, "") %>
|
||||
<%= print_property("Type", @equipment.equip_type, "") %>
|
||||
<%= print_property("Description", @equipment.description, "") %>
|
||||
</dl>
|
||||
|
||||
<dl class="dl-horizontal hidden section appearance_section">
|
||||
<%= print_property("Description", @equipment.description, "") %>
|
||||
<%= print_property("Weight", @equipment.weight, "") %>
|
||||
</dl>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user