if we have the below code,
<input id="Name" name="Name" type="text" data-bind="value: Name" class="title width-7" />
we can translate it using @Html.TextBoxFor to:
@Html.TextBoxFor(m => m.Name, new { data_bind="value: Name", @class = "title width-7" })
now I have this line that i can't translate the 'placeholder' attribute with @Html.TextBoxFor, how can I do that??
<input type="email" class="form-control" id="exampleInputEmail3" placeholder="Enter email">
thanks...
@Html.TextBoxFor(model=>model.name, new{@placeholder="",@class=""})