btcpayserver/BTCPayServer/Views/Wallets/WalletPSBTCombine.cshtml
nicolas.dorier 87df34e064
Can actually upload PSBT file in PSBT Combine and PSBT view.
Validate transaction before allowing any broadcast and show errors nicely.
2019-05-19 23:27:18 +09:00

26 lines
985 B
Plaintext

@model WalletPSBTCombineViewModel
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData["Title"] = "PSBT";
ViewData.SetActivePageAndTitle(WalletsNavPages.PSBT);
}
<h4>Combine PSBT</h4>
<div class="row">
<div class="col-md-10">
<form class="form-group" method="post" asp-action="WalletPSBTCombine" enctype="multipart/form-data">
<input type="hidden" asp-for="OtherPSBT" />
<div class="form-group">
<label asp-for="PSBT"></label>
<textarea class="form-control" rows="5" asp-for="PSBT"></textarea>
<span asp-validation-for="PSBT" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="UploadedPSBTFile"></label>
<input type="file" class="form-control-file" asp-for="UploadedPSBTFile">
</div>
<button type="submit" class="btn btn-primary">Combine</button>
</form>
</div>
</div>