ass="cbi-button cbi-button-apply" type="submit" name="reset" value="<%:Reset%>" onclick="return confirm('<%:This will reset all configuration changes and reboot the device to apply the default configurations. Continue?%>')" />
		</div>
	</div>

<% elseif mode == "view" then %>
	<input type="hidden" name="config_file" value="<%=cfg_file%>" />

	<div class="cbi-value">
		<label class="cbi-value-title"><%="Configuration "..cfg_file%></label>
		<div class="cbi-value-field">
			<textarea id="upload_pkt" readonly