Merge pull request #2328 from sbwalker/dev
include ResourceType attribute in Settings component for external module template
This commit is contained in:
commit
063719532f
|
@ -5,7 +5,7 @@
|
|||
|
||||
<div class="container">
|
||||
<div class="row mb-1 align-items-center">
|
||||
<Label Class="col-sm-3" For="value" HelpText="Enter a value" ResourceKey="SettingName">Name: </Label>
|
||||
<Label Class="col-sm-3" For="value" HelpText="Enter a value" ResourceKey="SettingName" ResourceType="@resourceType">Name: </Label>
|
||||
<div class="col-sm-9">
|
||||
<input id="value" type="text" class="form-control" @bind="@_value" />
|
||||
</div>
|
||||
|
@ -13,6 +13,7 @@
|
|||
</div>
|
||||
|
||||
@code {
|
||||
private string resourceType = "[Owner].[Module].Settings, [Owner].[Module].Client.Oqtane"; // for localization
|
||||
public override string Title => "[Module] Settings";
|
||||
|
||||
string _value;
|
||||
|
|
Loading…
Reference in New Issue
Block a user