mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
23 lines
514 B
C#
23 lines
514 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using BTCPayServer.Abstractions.Form;
|
|
|
|
namespace BTCPayServer.Forms;
|
|
|
|
public class HtmlFieldsetFormProvider: IFormComponentProvider
|
|
{
|
|
public string View => "Forms/FieldSetElement";
|
|
|
|
public void Register(Dictionary<string, IFormComponentProvider> typeToComponentProvider)
|
|
{
|
|
typeToComponentProvider.Add("fieldset", this);
|
|
}
|
|
|
|
public void Validate(Field field)
|
|
{
|
|
}
|
|
|
|
public void Validate(Form form, Field field)
|
|
{
|
|
}
|
|
}
|