anchor.diff:        <% if variable_types.size > 1 %>
           <dt>Type</dt>
           <dd>
  -          <div class="btn-group" data-toggle="buttons-radio">
  -            <% variable_types.each_with_index do |variable_type, vindex| %>
  -              <% if variable_type == @variable.variable_type %>
  -                <button type="button" class="btn btn-mini active"><%= variable_type %></button>
  -              <% else %>
  -                <%= link_to variable_type, '#', data: { object: 'push-partial-change', update: 'variable', variable_id: @variable.id, changes: { variable: { variable_type: variable_type } }, position: @position }, class: 'btn btn-default btn-mini' %>
  -              <% end %>
  +          <div class="btn-group" data-toggle="buttons">
  +            <% variable_types.collect{|v| [v,v]}.each do |label, value| %>
  +              <label class="btn btn-mini btn-default <%= 'active' if @variable.variable_type == value %>" data-object="push-partial-change" data-update="variable" data-variable-id="<%= @variable.id %>" data-changes='{"variable":{"variable_type":"<%= value %>"}}' data-position="<%= @position %>">
  +                <%= radio_button_tag "variable_type", value, @variable.variable_type == value %>
  +                <%= label %>
  +              </label>
               <% end %>
             </div>
           </dd>
  
positive.code:       <% if ['radio', 'checkbox'].include?(@variable.variable_type) %>
          <dt>Options Alignment</dt>
          <dd>
            <div class="btn-group" data-toggle="buttons-radio">
              <% Variable::ALIGNMENT.each_with_index do |(label, alignment), vindex| %>
                <% if alignment == @variable.alignment %>
                  <button type="button" class="btn btn-mini active"><%= alignment %></button>
                <% else %>
                  <%= link_to alignment, '#', data: { object: 'push-partial-change', update: 'variable', variable_id: @variable.id, changes: { variable: { alignment: alignment } }, position: @position }, class: 'btn btn-default btn-mini' %>
                <% end %>
              <% end %>
            </div>
          </dd>
  
negative.code:       <% if ['time', 'date'].include?(@variable.variable_type) %>
          <dt>Current <%= @variable.variable_type.titleize %> Button</dt>
          <dd>
            <div class="btn-group" data-toggle="buttons">
              <% [['show', true],['hide', false]].each do |label, value| %>
                <label class="btn btn-mini btn-default <%= 'active' if @variable.show_current_button == value %>" data-object="push-partial-change" data-update="variable" data-variable-id="<%= @variable.id %>" data-changes='{"variable":{"show_current_button":"<%= value %>"}}' data-position="<%= @position %>">
                  <%= radio_button_tag "show_current_button", value, @variable.show_current_button == value %>
                  <%= label %>
                </label>
              <% end %>
            </div>
          </dd>
  