<input type="hidden" name="plan_key" value="<%= @action_plan.key() if @action_plan -%>"/>
<tbody>
<tr>
- <td colspan="2"><h1 class="marginbottom10"><%= @action_plan && @action_plan.key() ? message('action_plans.edit_action_plan') : message('action_plans.create_form_title') -%></h1></td>
+ <td colspan="2" class="left"><h1 class="marginbottom10"><%= @action_plan && @action_plan.key() ? message('action_plans.edit_action_plan') : message('action_plans.create_form_title') -%></h1></td>
</tr>
<tr>
<td class="left" valign="top">
</tr>
</tbody>
</form>
-</table>
\ No newline at end of file
+</table>
<form action="<%= ApplicationController.root_context -%>/manual_rules/create" method="POST">
<table class="admintable" width="100%">
<input type="hidden" name="id" value="<%= @rule.id -%>"/>
-
+ <tr>
+ <td colspan="2" class="left"><h1 class="marginbottom10"><%= @rule && @rule.id.nil? ? 'Create Manual Rule' : 'Edit Manual Rule' -%></h1></td>
+ </tr>
<tr>
<td class="left" valign="top">
Name:<br/><input type="text" name="name" value="<%= h @rule.name -%>"/>
</tr>
<tr>
<td class="left" valign="top">
- <input type="submit" value="<%= @rule.id.nil? ? 'Create' : 'Update' -%>"/>
+ <input type="submit" value="<%= @rule.id.nil? ? message('create') : message('edit') -%>"/>
</td>
</tr>
</table>
<% else %>
<% form_for :metric, @metric, :url => { :action => 'save_from_web', :id => @metric.id } do |f| %>
<tbody>
+ <tr>
+ <td colspan="2" class="left"><h1 class="marginbottom10"><%= @metric && @metric.id.nil? ? 'Create Manual Metric' : 'Edit Manual Metric' -%></h1></td>
+ </tr>
<tr>
<td class="left" valign="top">
Name:<br/><%= f.text_field :short_name %><br/>
</tr>
<tr>
<td class="left" valign="top">
- <%= submit_tag @metric.id.nil? ? 'Create' : 'Update' %>
+ <%= submit_tag @metric.id.nil? ? message('create') : message('edit') %>
</td>
</tr>
</tbody>