Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
10 kB
0
Indexable
Never
@model BaşvuruFormu.Database.OgrenciBilgileri
@{
    ViewData["Title"] = "Home Page";
}

<div class="text-center">
    <h2>Öğrenci Bilgileri</h2>
    <div class="form-group">
        <h1 style="text-align:left;font-size:20px;margin:30px">Fakülte / MYO / YO Adı :</h1>
        <input style="margin:30px" required="" name="AD_SOYAD" type="text" class="form-control" placeholder="Fakülte / MYO / YO Adı ">
    </div>
    <div class="form-group">
        <h1 style="text-align:left;font-size:20px;margin:30px">Bölümü\Programı :</h1>
        <input style="margin:30px" required="" name="AD_SOYAD" type="text" class="form-control" placeholder="Bölümü\Programı">
    </div>
    <div class="form-group">
        <h1 style="text-align:left;font-size:20px;margin:30px">Adı Soyadı :</h1>
        <input style="margin:30px" required="" name="AD_SOYAD" type="text" class="form-control" placeholder="Ad Soyad">
    </div>
    <div class="form-group">
        <h1 style="text-align:left;font-size:20px;margin:30px">Öğrenci Numarası :</h1>
        <input style="margin:30px" required="" name="AD_SOYAD" type="text" class="form-control" placeholder="Öğrenci No">
    </div>
    <div class="form-group">
        <h1 style="text-align:left;font-size:20px;margin:30px">Telefon No :</h1>
        <input style="margin:30px" required="" name="AD_SOYAD" type="text" class="form-control" placeholder="Telefon No">
    </div>
    <div class="form-group">
        <h1 style="text-align:left;font-size:20px;margin:30px">İkametgâh Adresi :</h1>
        <input style="margin:30px" required="" name="AD_SOYAD" type="text" class="form-control" placeholder="İkametgâh Adresi">
    </div>
    <div class="form-group">
        <h1 style="text-align:left;font-size:20px;margin:30px">T.C. Kimlik No :</h1>
        <input style="margin:30px" required="" name="AD_SOYAD" type="text" class="form-control" placeholder="T.C. Kimlik No">
    </div>
    @* <div class="form-group"  style="display: flex; flex-direction: row;margin:30px">
        <h1 style="text-align:left;font-size:20px;margin:0;">Staj Türü :</h1>
        <div style="margin-right: 10px;">
            @using (Html.BeginForm())
            {
                <div class="form-group">
                    @Html.CheckBoxFor(model => model.IsChecked1, new { @class = "form-check-input" })
                    @Html.LabelFor(model => model.IsChecked1, htmlAttributes: new { @class = "form-check-label" })
                </div>
            }
        </div>
        <div style="margin-right: 10px;">
            @using (Html.BeginForm())
            {
                <div class="form-group">
                    @Html.CheckBoxFor(model => model.IsChecked2, new { @class = "form-check-input" })
                    @Html.LabelFor(model => model.IsChecked2, htmlAttributes: new { @class = "form-check-label" })
                </div>
            }
        </div>
        <div>
            @using (Html.BeginForm())
            {
                <div class="form-group">
                    @Html.CheckBoxFor(model => model.IsChecked3, new { @class = "form-check-input" })
                    @Html.LabelFor(model => model.IsChecked3, htmlAttributes: new { @class = "form-check-label" })
                </div>
            }
        </div>
    </div>

    <div class="form-group" style="display: flex; flex-direction: row;margin:30px">
        <h1 style="text-align:left;font-size:20px;margin:0;">Sigortalılık Durumu :</h1>
        <div style="margin-right: 10px;">
            @using (Html.BeginForm())
            {
                <div class="form-group">
                    @Html.CheckBoxFor(model => model.IsChecked4, new { @class = "form-check-input" })
                    @Html.LabelFor(model => model.IsChecked4, htmlAttributes: new { @class = "form-check-label" })
                </div>
            }
        </div>
        <div style="margin-right: 10px;">
            @using (Html.BeginForm())
            {
                <div class="form-group">
                    @Html.CheckBoxFor(model => model.IsChecked5, new { @class = "form-check-input" })
                    @Html.LabelFor(model => model.IsChecked5, htmlAttributes: new { @class = "form-check-label" })
                </div>
            }
        </div>
        <div>
            @using (Html.BeginForm())
            {
                <div class="form-group">
                    @Html.CheckBoxFor(model => model.IsChecked6, new { @class = "form-check-input" })
                    @Html.LabelFor(model => model.IsChecked6, htmlAttributes: new { @class = "form-check-label" })
                </div>
            }
        </div>
    </div>

    <div class="form-group" style="display: flex; flex-direction: row;margin:30px">
        <h1 style="text-align:left;font-size:20px;margin:0;">İş Sağlığı ve Güvenliği Bilgisi :</h1>
        <div style="margin-right: 10px;">
            @using (Html.BeginForm())
            {
                <div class="form-group">
                    @Html.CheckBoxFor(model => model.IsChecked7, new { @class = "form-check-input" })
                    @Html.LabelFor(model => model.IsChecked7, htmlAttributes: new { @class = "form-check-label" })
                </div>
            }
        </div>
        <div style="margin-right: 10px;">
            @using (Html.BeginForm())
            {
                <div class="form-group">
                    @Html.CheckBoxFor(model => model.IsChecked8, new { @class = "form-check-input" })
                    @Html.LabelFor(model => model.IsChecked8, htmlAttributes: new { @class = "form-check-label" })
                </div>
            }
        </div>
        <div>
            @using (Html.BeginForm())
            {
                <div class="form-group">
                    @Html.CheckBoxFor(model => model.IsChecked9, new { @class = "form-check-input" })
                    @Html.LabelFor(model => model.IsChecked9, htmlAttributes: new { @class = "form-check-label" })
                </div>
            }
        </div>
        <div>
            @using (Html.BeginForm())
            {
                <div class="form-group">
                    @Html.CheckBoxFor(model => model.IsChecked10, new { @class = "form-check-input" })
                    @Html.LabelFor(model => model.IsChecked10, htmlAttributes: new { @class = "form-check-label" })
                </div>
            }
        </div>
    </div> *@
    @using (Html.BeginForm("Index", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))

    {
        @Html.AntiForgeryToken()

        <div class="form-horizontal">

            @Html.ValidationSummary(true, "", new { @class = "text-danger" })
            <div class="form-group">
                @Html.LabelFor(model => model.AdSoyad, htmlAttributes: new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.EditorFor(model => model.AdSoyad, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.AdSoyad, "", new { @class = "text-danger" })
                </div>
            </div>

            <div class="form-group">
                @Html.LabelFor(model => model.FakulteAdi, htmlAttributes: new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.EditorFor(model => model.FakulteAdi, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.FakulteAdi, "", new { @class = "text-danger" })
                </div>
            </div>

            <div class="form-group">
                @Html.LabelFor(model => model.Bolumu, htmlAttributes: new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.EditorFor(model => model.Bolumu, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.Bolumu, "", new { @class = "text-danger" })
                </div>
            </div>

            <div class="form-group">
                @Html.LabelFor(model => model.TelefonNo, htmlAttributes: new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.EditorFor(model => model.TelefonNo, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.TelefonNo, "", new { @class = "text-danger" })
                </div>
            </div>

            <div class="form-group">
                @Html.LabelFor(model => model.OgrenciNo, htmlAttributes: new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.EditorFor(model => model.OgrenciNo, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.OgrenciNo, "", new { @class = "text-danger" })
                </div>
            </div>

            <div class="form-group">
                @Html.LabelFor(model => model.KimlikNo, htmlAttributes: new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.EditorFor(model => model.KimlikNo, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.KimlikNo, "", new { @class = "text-danger" })
                </div>
            </div>



            <div class="form-group">
                @Html.LabelFor(model => model.Ikametgah, htmlAttributes: new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.EditorFor(model => model.Ikametgah, new { htmlAttributes = new { @class = "form-control" } })
                    @Html.ValidationMessageFor(model => model.Ikametgah, "", new { @class = "text-danger" })
                </div>
            </div>

            <div class="form-group">
                <div class="col-md-offset-2 col-md-12">
                    <button type="submit" class="btn btn-success">
                        <span class="fa fa-save"></span>
                        Kaydet
                    </button>
                </div>
            </div>
        </div>
    }
</div>
Leave a Comment