SHARE
TWEET

Untitled

a guest Apr 21st, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @model Favor.Data.Favor
  2.  
  3. @using (Html.BeginForm("Create", "Favor", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
  4. {
  5.     <div class="form-group">
  6.         @Html.LabelFor(f => f.Title)
  7.         <div>
  8.             @Html.TextBoxFor(f => f.Title)
  9.         </div>
  10.     </div>
  11.     <div class="form-group">
  12.         @Html.LabelFor(f => f.Description)
  13.         <div>
  14.             @Html.TextBoxFor(f => f.Description)
  15.         </div>
  16.     </div>
  17.     <div class="form-group">
  18.         @Html.LabelFor(f => f.PayOff.WithFavor)
  19.         <div>
  20.             @Html.EnumDropDownListFor(f => f.PayOff.WithFavor)
  21.         </div>
  22.     </div>
  23.     <div class="form-group">
  24.         @Html.LabelFor(f => f.FavorType)
  25.         <div>
  26.             @Html.EnumDropDownListFor(f => f.FavorType)
  27.         </div>
  28.     </div>
  29.     <div class="form-group">
  30.         @Html.LabelFor(f => f.PayOff.WithMoney)
  31.         <div>
  32.             @Html.TextBoxFor(f => f.PayOff.WithMoney)
  33.         </div>
  34.     </div>
  35.     <div class="form-group">
  36.         @Html.LabelFor(f => f.FavorCategory)
  37.         <div>
  38.             @Html.EnumDropDownListFor(f => f.FavorCategory)
  39.         </div>
  40.     </div>
  41.  
  42.     <div class="form-group">
  43.         <div>
  44.             <input type="submit" value="CreateMethod"/>
  45.         </div>
  46.     </div>
  47. }
RAW Paste Data
Top