[#4650] Added labels to the Fixed Budget form
This commit is contained in:
@@ -66,26 +66,24 @@
|
||||
<%= fixed_budget.hidden_field(:year) %>
|
||||
<%= fixed_budget.hidden_field(:month) %>
|
||||
|
||||
<p class="inline-hints" style="display:none;"><%= fixed_budget.label(:title, l(:field_title))%></p>
|
||||
<%= fixed_budget.text_field(:title) %>
|
||||
<p class="inline-hints"><%= fixed_budget.label(:title, l(:field_title))%>
|
||||
<%= fixed_budget.text_field(:title) %>
|
||||
</p>
|
||||
|
||||
<p class="inline-hints">
|
||||
<%= fixed_budget.label(:budget, l(:field_budget), :style => 'display: none;')%> <%# Hidden label :| %>
|
||||
<%= l(:text_dollar_sign) %>
|
||||
<%= fixed_budget.label(:budget, l(:field_budget))%> <%= l(:text_dollar_sign) %>
|
||||
<%= fixed_budget.text_field(:budget, :value => format_deliverable_value_fields(fixed_budget.object.budget), :class => 'financial') %>
|
||||
</p>
|
||||
<%= fixed_budget.text_field(:budget, :value => format_deliverable_value_fields(fixed_budget.object.budget), :class => 'financial') %>
|
||||
|
||||
<p class="inline-hints">
|
||||
<%= fixed_budget.label(:markup, l(:field_markup), :style => 'display: none;')%> <%# Hidden label :| %>
|
||||
<%= l(:field_discount_hint) %>
|
||||
<%= fixed_budget.label(:markup, l(:field_markup)) %> <%= l(:field_discount_hint) %>
|
||||
<%= fixed_budget.text_field(:markup, :value => format_deliverable_value_fields_as_dollar_or_percent(fixed_budget.object.markup), :class => 'financial') %>
|
||||
</p>
|
||||
<%= fixed_budget.text_field(:markup, :value => format_deliverable_value_fields_as_dollar_or_percent(fixed_budget.object.markup), :class => 'financial') %>
|
||||
|
||||
<p class="inline-hints">
|
||||
<%= fixed_budget.label(:paid, l(:field_paid), :style => 'display: none;') %><%# Hidden label :| %>
|
||||
<%= l(:field_paid) %>
|
||||
<%= fixed_budget.label(:paid, l(:field_paid)) %>
|
||||
<%= fixed_budget.check_box(:paid) %>
|
||||
</p>
|
||||
<%= fixed_budget.check_box(:paid) %>
|
||||
|
||||
<p class="inline-hints" style="display:none;"><%= fixed_budget.label(:description, l(:field_description), :for => "fixed-description#{fixed_budget.object.object_id}")%></p>
|
||||
<%= fixed_budget.text_area(:description, :class => 'wiki-edit', :rows => '5', :id => "fixed-description#{fixed_budget.object.object_id}") %>
|
||||
|
||||
@@ -132,7 +132,9 @@ input.financial{
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.deliverable_finance_table p.inline-hints label {font-weight: normal; float: none; display: auto; margin-left: 0px; } /* An inline label so it needs to be reset from .tabular */
|
||||
.deliverable-finances p.inline-hints label {font-weight: normal; float: none; display: auto; margin-left: 0px; } /* An inline label so it needs to be reset from .tabular */
|
||||
|
||||
.deliverable-finances .fixed-item-form p.inline-hints { margin-right: 13px; }
|
||||
|
||||
#expand_terms{
|
||||
margin: 10px 0 10px 0;
|
||||
|
||||
Reference in New Issue
Block a user