<%
  @title = :email_tracking_title.t(:name => @name.display_name)

  tabs = [
    link_to(:cancel_and_show.t(:type => :name),
            :action => 'show_name', :id => @name.id)
  ]
  @tabsets = { right: draw_tab_set(tabs) }
%>

<%= :email_tracking_help.tp %>

<%= form_tag(:action => 'email_tracking', :id => @name.id) do %>
  <br/><center>
    <%= if @notification
      submit_tag(:UPDATE.t, class: "btn") + ' ' + submit_tag(:DISABLE.t, class: "btn")
    else
      submit_tag(:ENABLE.t, class: "btn")
    end %>
  </center>

  <label for="notification_note_template"><%= :email_tracking_note.t %></label>:<br/>
  <span class="HelpNote"><%= :email_tracking_note_help.t %></span><br/>
  <%= text_area('notification', 'note_template', cols: 80, value: @note_template, autofocus: true) %><br/>
<% end %>

<%
  @title = :email_tracking_title.t(name: @name.display_name)

  tabs = [
    link_to(:cancel_and_show.t(type: :name), action: :show_name, id: @name.id)
  ]
  @tabsets = { right: draw_tab_set(tabs) }
%>

<%= :email_tracking_help.tp %>

<%= form_tag(action: :email_tracking, id: @name.id) do %>
  <br/><center>
    <%= if @notification
      submit_tag(:UPDATE.t, class: "btn") + ' ' + submit_tag(:DISABLE.t, class: "btn")
    else
      submit_tag(:ENABLE.t, class: "btn")
    end %>
  </center>

  <label for="notification_note_template"><%= :email_tracking_note.t %></label>:<br/>
  <span class="HelpNote"><%= :email_tracking_note_help.t %></span><br/>
  <%= text_area(:notification, :note_template, cols: 80, rows: 16,
                value: @note_template, autofocus: true) %><br/>
<% end %>

Increase height of email tracking template window to display entire default template.
Increase height of email tracking template window to display entire default template.

* Prevents user from mistakenly thinking she deleted entire template.  See [Pivotal #129185765](https://www.pivotaltracker.com/story/show/129185765).
* Also trivial refactored view to use more current, idiomatic Rails.
