Advertisement
murad45

RifatContactsCreate.cshtml

Sep 24th, 2021
2,241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 1.87 KB | None | 0 0
  1. <div class="form-group">
  2.         @Html.LabelFor(model => model.Gender, htmlAttributes: new { @class = "control-label col-md-2" })
  3.         <div class="col-md-10">
  4.             <label class="radio-inline">
  5.                 @Html.RadioButtonFor(model => model.Gender, "Male", new { @name = "gender" })
  6.                 Male
  7.             </label>
  8.             <label class="radio-inline">
  9.                 @Html.RadioButtonFor(model => model.Gender, "Female", new { @name = "gender" })
  10.                 Female
  11.             </label>
  12.  
  13.             @Html.ValidationMessageFor(model => model.Gender, "", new { @class = "text-danger" })
  14.         </div>
  15.     </div>
  16.     <div class="form-group">
  17.         @Html.LabelFor(model => model.Interest, htmlAttributes: new { @class = "control-label col-md-2" })
  18.         <div class="col-md-10">
  19.             <label class="checkbox-inline">
  20.                 @Html.CheckBox("cSharp", false)
  21.                 C#
  22.             </label>
  23.             <label class="checkbox-inline">
  24.                 @Html.CheckBox("Java", false)
  25.                 Java
  26.             </label>
  27.             <label class="checkbox-inline">
  28.                 @Html.CheckBox("Python", false)
  29.                 Python
  30.             </label>
  31.  
  32.             @Html.ValidationMessageFor(model => model.Interest, "", new { @class = "text-danger" })
  33.         </div>
  34.     </div>
  35.  
  36.     <div class="form-group">
  37.         <div class="col-md-offset-2 col-md-10">
  38.             <input type="button" value="Unused" class="btn btn-default" />
  39.         </div>
  40.     </div>
  41.     <div class="form-group">
  42.         <div class="col-md-offset-2 col-md-10">
  43.             <a href="https://google.com">HyperLink Of Google</a>
  44.         </div>
  45.     </div>
  46.     <div class="form-group">
  47.         <div class="col-md-offset-2 col-md-10">
  48.             <input type="submit" value="Create" class="btn btn-default" />
  49.         </div>
  50.     </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement