我有引導標籤和textboes,它看起來不錯,但在向視圖UI添加formmethod.post之後發生了變化。Bootstrap UI在添加FormMethod.Post後變爲chaning
爲第一PIC的圖。
@model IEnumerable<AtlanticAmerican.Data.Models.ADDS.EmailSubject>
<title>title</title>
<script src="~/Scripts/jquery-2.1.4.js"></script>
<link href="~/Content/bootstrap.min.css" rel="stylesheet" />
<link href="~/Content/bootstrap-fileinput/css/fileinput.css" rel="stylesheet" />
<script src="~/Scripts/bootstrap.js"></script>
</style>
<div class="container">
<div class="col-sm-12">
<div class="col-sm-8">
<form class="form-horizontal">
<div class="form-group">
<label class="col-sm-3 control-label">Send E-Mail To</label>
<div data-bind="foreach: recipients">
<!-- ko if: itemName === 'c' || itemName === 'RSDs' || itemName === 'a' || itemName === 'b'-->
</div>
.
.
.
爲第二張圖
@using (Html.BeginForm("eBlast", "eBlast", FormMethod.Post, new {enctype = "multipart/form-data" }))
{
@model IEnumerable<AtlanticAmerican.Data.Models.ADDS.EmailSubject>
<title>title</title>
<script src="~/Scripts/jquery-2.1.4.js"></script>
<link href="~/Content/bootstrap.min.css" rel="stylesheet" />
<link href="~/Content/bootstrap-fileinput/css/fileinput.css" rel="stylesheet" />
<script src="~/Scripts/bootstrap.js"></script>
</style>
<div class="container">
<div class="col-sm-12">
<div class="col-sm-8">
<form class="form-horizontal">
<div class="form-group">
<label class="col-sm-3 control-label">Send E-Mail To</label>
<div data-bind="foreach: recipients">
<!-- ko if: itemName === 'c' || itemName === 'RSDs' || itemName === 'a' || itemName === 'b'-->
</div>
.
.
.
}
AM我加入這行來錯了地方的看法?
@using (Html.BeginForm("eBlast", "eBlast", FormMethod.Post, new {enctype = "multipart/form-data" }))
我添加了col-sm-9它現在修復了一點點,現在我要做sme標籤textboes的其餘部分。在我添加formmethod.post之前,它看起來很奇怪。謝謝 – Nakres