This project is read-only.
1
Vote

Need to add custom parameters

description

Hi!

What is the proper way to set custom parameters on Edit view?

http://<server>/SiteSettings/PluginSettings/Edit/

As seen in code
@for (int i = 0; i < Model.SettingValues.Count(); i++)
        {
            <div>
                <label for="SettingValues[@i].Value">@Model.SettingValues[i].Name</label>
                    
                <input type="hidden" name="SettingValues[@i].Name" value="@Model.SettingValues[i].Name" />
                <input type="text" name="SettingValues[@i].Value" value="@Model.SettingValues[i].Value" />
            </div>
        }

comments