Orchard.MultiTenancy - Mismatched ConnectionString UI between add/edit

Fixes #7301
This commit is contained in:
Matthew Harris
2016-10-13 17:16:24 +01:00
committed by Sipke Schoorstra
parent cf81574552
commit 951c36a59b
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@
<div class="options">
<span data-controllerid="sqlDatabaseOption">
<label for="DatabaseConnectionString">@T("Connection string")</label>
@Html.EditorFor(svm => svm.DatabaseConnectionString)
@Html.TextBoxFor(svm => svm.DatabaseConnectionString, new { @class = "text large" })
<span class="hint">@T("Example:") @T("Data Source=sqlServerName;Initial Catalog=dbName;User ID=userName;Password=password")</span>
</span>
<span data-controllerid="sqlDatabaseOption">

View File

@@ -48,7 +48,7 @@
<div class="options">
<span data-controllerid="sqlDatabaseOption">
<label for="DatabaseConnectionString">@T("Connection string")</label>
@Html.TextBoxFor(svm => svm.DatabaseConnectionString)
@Html.TextBoxFor(svm => svm.DatabaseConnectionString, new { @class = "text large" })
<span class="hint">@T("Example:") @T("Data Source=sqlServerName;Initial Catalog=dbName;Persist Security Info=True;User ID=userName;Password=password")</span>
</span>
<span data-controllerid="sqlDatabaseOption">