<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})"></head>

<body>
<div class="layui-form timo-compile">
    <form th:action="@{/api/sys/notify/sms}">
        <input type="hidden" name="id" th:value="${smsAccount?.id}"/>
        <div class="layui-form-item">
            <label class="layui-form-label required">账户 ID</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="notifyAccountId" placeholder="请输入账户 ID" required th:value="${smsAccount?.notifyAccountId}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">用户名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="username" placeholder="请输入用户名" required th:value="${smsAccount?.username}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">密码</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="password" placeholder="请输入密码" required th:value="${smsAccount?.password}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">URL</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="url" placeholder="请输入URL地址" required th:value="${smsAccount?.url}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">sprdid</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="sprdid" placeholder="请输入 sprdid" required th:value="${smsAccount?.sprdid}">
            </div>
        </div>
        <input class="layui-input" type="hidden" name="scorpid" placeholder="请输入 scorpid" required th:value="${smsAccount?.scorpid}">
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
<script type="text/javascript">
</script>
</body>
</html>