Fix build break

This commit is contained in:
Ryan Nowak 2015-04-20 12:44:30 -07:00
parent dedf923f09
commit 8bae02928d
2 changed files with 2 additions and 18 deletions

View File

@ -203,14 +203,6 @@
@Html.RadioButtonFor(m => m.Dependent.Alive, value: true) True
</td>
</tr>
<tr>
<td>
@Html.LabelFor(model => model.Password, htmlAttributes: new { @class="control-label col-md-2" })
</td>
<td>
@Html.PasswordFor(m => m.Password, htmlAttributes: new { @class = "form-control" })
</td>
</tr>
<tr>
<td>
<input type="submit" value="Save" class="btn btn-default" style="margin-left: 10px" />
@ -263,14 +255,6 @@
htmlAttributes: new { @class = "form-control" })
</td>
</tr>
<tr>
<td>
@Html.Label("Password")
</td>
<td>
@Html.Password("Password", "some string")
</td>
</tr>
<tr>
<td>
<input type="submit" value="Save" class="btn btn-default" style="margin-left: 10px" />

View File

@ -130,9 +130,9 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
"\"http://schemas.datacontract.org/2004/07/MvcSample.Web.Models\"><About>I like playing Football" +
"</About><Address>My address</Address><Age>13</Age><Alive>true</Alive><Dependent><About i:nil=\"true\" />" +
"<Address>Dependents address</Address><Age>0</Age><Alive>false</Alive><Dependent i:nil=\"true\" />" +
"<GPA>0</GPA><Log i:nil=\"true\" /><Name>Dependents name</Name><Password i:nil=\"true\" />" +
"<GPA>0</GPA><Log i:nil=\"true\" /><Name>Dependents name</Name>" +
"<Profession i:nil=\"true\" /></Dependent><GPA>13.37</GPA><Log i:nil=\"true\" />" +
"<Name>My name</Name><Password>Secure string</Password><Profession>Software Engineer</Profession></User>",
"<Name>My name</Name><Profession>Software Engineer</Profession></User>",
await response.Content.ReadAsStringAsync());
}