### ${_('Default IP Whitelist For All Users')}

##### ${_('Current IP address')}: `${c.rhodecode_user.ip_addr}`

IP Address | IP Range | Description |
--- | --- | --- | ---
%if c.user_ip_map: %for ip in c.user_ip_map:

${ip.ip_addr}

${h.ip_range(ip.ip_addr)}

${ip.description}

${h.secure_form(h.route_path('edit_user_ips_delete', user_id=c.user.user_id), request=request)} ${h.hidden('del_ip_id',ip.ip_id)} ${h.hidden('default_user', 'True')} ${h.submit('remove_',_('Delete'),id="remove_ip_%s" % ip.ip_id, class_="btn btn-link btn-danger", onclick="return confirm('"+_('Confirm to delete this ip: %s') % ip.ip_addr+"');")} ${h.end_form()}

%endfor %else:
${_('All IP addresses are allowed')} |  |  |
%endif

${h.secure_form(h.route_path('edit_user_ips_add', user_id=c.user.user_id), request=request)}
${_('New IP Address')}:
${h.hidden('default_user', 'True')} ${h.text('new_ip')} ${h.text('description', placeholder=_('Description...'))} ${_('Enter a comma separated list of IP Addresses like 127.0.0.1,\n' 'or use an IP Address with a mask 127.0.0.1/24, to create a network range.\n' 'To specify multiple addresses in a range, use the 127.0.0.1-127.0.0.10 syntax')}
${h.submit('save',_('Add'),class_="btn")} ${h.reset('reset',_('Reset'),class_="btn")}
${h.end_form()}