anchor.diff:        </div> 
       </div>
     </div>
  -</div>
  -<% end %>
  +  <% end %>
  +</div>
  +
  +
  +<!-- edit wifi network modal-->
  +<div class="modal fade" id="edit-wifi-network-modal" role="dialog">
  +  <div class="modal-dialog">
  +    <!-- Modal content-->
  +    <div class="modal-content">
  +      <div class="modal-header">
  +        <button type="button" class="close" data-dismiss="modal">&times;</button>
  +        <h4 class="modal-title">Change SSID</h4>
  +      </div>
  +      <div class="modal-body">
  +        <form class="form-signin" action="/exec" method="post">
  +          <div class="form-group">
  +            <input type="hidden" name="env" value='sh'>
  +            <input type="hidden" name="cmd" value='wifiap.sh'>
  +            <input type="text" name="ssid" class="form-control" value='<%= net_info[:ssid] %>' required autofocus>
  +            <select class="form-control" name='channel'>
  +                <option value='1'>1</option>
  +                <option value='2'>2</option>
  +                <option value='3'>3</option>
  +                <option value='4'>4</option>
  +                <option value='5'>5</option>
  +                <option value='6'>6</option>
  +                <option value='7'>7</option>
  +                <option value='8'>8</option>
  +                <option value='9'>9</option>
  +                <option value='10'>10</option>
  +                <option value='11'>11</option>
  +                <option value='12'>12</option>
  +                <option value='13'>13</option>
  +                <option value='14'>14</option>
  +            </select>
  +            <input type="text" name="password" class="form-control" value='<%= net_info[:password] == '-' ? '' : net_info[:password] %>'>
  +            <button class="btn btn-lg btn-primary btn-block" type="submit">Save</button>
  +          </div>
  +        </form>
  +      </div>
  +    </div>
  +  </div>
  +</div>
   
   <!-- change ssid modal-->
   <div class="modal fade" id="change-ssid-modal" role="dialog">
  
positive.code:           <hr></hr>
            <div class="row">
              <div class="col-xs-12">
                <p>Choosing the best Wi-Fi channel on your MAZI zone helps to reduce interference and improve your WI-Fi signal. Please press the edit button <i class="fa fa-pencil"></i> on the right of the currently used channel to change it.</p>
              </div>
            </div>
          </div>
  
negative.code:     <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">&times;</button>
          <h4 class="modal-title">Edit WiFi Network Settings</h4>
        </div>
        <div class="modal-body">
          <form class="form-signin" action="/exec" method="post">
            <div class="form-group">
              <input type="hidden" name="env" value='sh'>
              <input type="hidden" name="cmd" value='wifiap.sh'>
              <input type="text" name="ssid" class="form-control" value='<%= net_info[:ssid] %>' required>
              <input type="text" name="password" class="form-control" value='<%= net_info[:password] == '-' ? '' : net_info[:password] %>'>
              <button class="btn btn-lg btn-primary btn-block" type="submit">Save</button>
            </div>
          </form>
  