File tree Expand file tree Collapse file tree 13 files changed +21
-74
lines changed
Expand file tree Collapse file tree 13 files changed +21
-74
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class Author
1010 {
1111 public int Id { get ; set ; }
1212
13- [ Display ( Name = "Türkçe İsim" ) ]
13+ [ Display ( Name = "İsim" ) ]
1414 public string Name { get ; set ; }
1515
1616 [ Display ( Name = "Aktiflik" ) ]
Original file line number Diff line number Diff line change 77
88 @if (Model .Active == true )
99 {
10- <h3 >Pasif Yapmak İstedi ğinizden Emin Misiniz ? </h3 >
10+ <h3 >Pasif Etmek İstedi ğinizden Emin Misiniz ? </h3 >
1111 <div >
1212
1313 <hr />
1818 <dd class =" col-sm-10" >
1919 @Html.DisplayFor(model => model .Name )
2020 </dd >
21- <dt class =" col-sm-2" >
22- @Html.DisplayNameFor(model => model .Active )
23- </dt >
24- <dd class =" col-sm-10" >
25- @Html.DisplayFor(model => model .Active )
26- </dd >
2721 </dl >
2822 <div class =" row" >
2923 <div class =" col-md-3" >
3630 <div class =" col-md-3" >
3731 <form asp-action =" Index" >
3832 <div class =" form-group" >
39- <input type =" submit" value =" LİSTEYE GERİ DÖN " class =" btn btn-block btn-primary" />
33+ <input type =" submit" value =" Listeye Geri Dön " class =" btn btn-block btn-primary" />
4034 </div >
4135 </form >
4236 </div >
4842 }
4943 else
5044 {
51- <h3 >Aktif Yapmak İstedi ğinizden Emin Misiniz ? </h3 >
45+ <h3 >Aktif Etmek İstedi ğinizden Emin Misiniz ? </h3 >
5246 <div >
5347
5448 <hr />
5953 <dd class =" col-sm-10" >
6054 @Html.DisplayFor(model => model .Name )
6155 </dd >
62- <dt class =" col-sm-2" >
63- @Html.DisplayNameFor(model => model .Active )
64- </dt >
65- <dd class =" col-sm-10" >
66- @Html.DisplayFor(model => model .Active )
67- </dd >
6856 </dl >
6957 <div class =" row" >
7058 <div class =" col-md-3" >
7765 <div class =" col-md-3" >
7866 <form asp-action =" Index" >
7967 <div class =" form-group" >
80- <input type =" submit" value =" LİSTEYE GERİ DÖN " class =" btn btn-block btn-primary" />
68+ <input type =" submit" value =" Listeye Geri Dön " class =" btn btn-block btn-primary" />
8169 </div >
8270 </form >
8371 </div >
Original file line number Diff line number Diff line change 3434 </div >
3535 <div class =" row" >
3636 <div class =" col-md-3" >
37- <form asp-action =" Edit" >
37+ <form asp-action =" Edit" method = " GET " asp-route-id = " @Model.Id " >
3838 <div class =" form-group" >
3939 <input type =" submit" value =" Düzenle" class =" btn btn-block btn-primary" />
4040 </div >
Original file line number Diff line number Diff line change 44 ViewData [" Title" ] = " Yazar Duzenle" ;
55}
66<div class =" container" >
7- <h1 >Duzenle </h1 >
7+ <h1 >Düzenle </h1 >
88 <hr />
99 <div class =" row" >
1010 <div class =" col-md-4" >
Original file line number Diff line number Diff line change 7878 <dd class =" col-sm-10" >
7979 @Html.DisplayFor(model => model .CreateDate )
8080 </dd >
81- <dt class =" col-sm-2" >
82- @Html.DisplayNameFor(model => model .Active )
83- </dt >
84- <dd class =" col-sm-10" >
85- @Html.DisplayFor(model => model .Active )
86- </dd >
8781 <dt class =" col-sm-2" >
8882 @Html.DisplayNameFor(model => model .MainPhoto )
8983 </dt >
114108 <div class =" col-md-3" >
115109 <form asp-action =" Index" >
116110 <div class =" form-group" >
117- <input type =" submit" value =" LİSTEYE GERİ DÖN " class =" btn btn-block btn-primary" />
111+ <input type =" submit" value =" Listeye Geri Dön " class =" btn btn-block btn-primary" />
118112 </div >
119113 </form >
120114 </div >
195189 <dd class =" col-sm-10" >
196190 @Html.DisplayFor(model => model .CreateDate )
197191 </dd >
198- <dt class =" col-sm-2" >
199- @Html.DisplayNameFor(model => model .Active )
200- </dt >
201- <dd class =" col-sm-10" >
202- @Html.DisplayFor(model => model .Active )
203- </dd >
204192 <dt class =" col-sm-2" >
205193 @Html.DisplayNameFor(model => model .MainPhoto )
206194 </dt >
224212 <div class =" col-md-3" >
225213 <form asp-action =" Delete" >
226214 <input type =" hidden" asp-for =" Id" />
227- <input type =" submit" value =" Aktif ET " class =" btn btn-block btn-danger" />
215+ <input type =" submit" value =" Aktif Et " class =" btn btn-block btn-danger" />
228216
229217 </form >
230218 </div >
231219 <div class =" col-md-3" >
232220 <form asp-action =" Index" >
233221 <div class =" form-group" >
234- <input type =" submit" value =" LİSTEYE GERİ DÖN " class =" btn btn-block btn-primary" />
222+ <input type =" submit" value =" Listeye Geri Dön " class =" btn btn-block btn-primary" />
235223 </div >
236224 </form >
237225 </div >
Original file line number Diff line number Diff line change 113113 </div >
114114 <div class =" row" >
115115 <div class =" col-md-3" >
116- <form asp-action =" Edit" >
116+ <form asp-action =" Edit" method = " GET " asp-route-id = " @Model.Id " >
117117 <div class =" form-group" >
118118 <input type =" submit" value =" Düzenle" class =" btn btn-block btn-primary" />
119119 </div >
Original file line number Diff line number Diff line change 44 ViewData [" Title" ] = " Kitap Duzenle" ;
55}
66<div class =" container" >
7- <h1 >Duzenle </h1 >
7+ <h1 >Düzenle </h1 >
88 <hr />
99
1010 <form asp-action =" Edit" enctype =" multipart/form-data" >
9696 <div class =" row" >
9797 <div class =" col-md-8" >
9898 <div class =" form-group" >
99- <input type =" submit" value =" LİSTEYE GERİ DÖN " class =" btn btn-block btn-primary" />
99+ <input type =" submit" value =" Listeye Geri Dön " class =" btn btn-block btn-primary" />
100100 </div >
101101 </div >
102102 </div >
Original file line number Diff line number Diff line change 2323 <dd class =" col-sm-10" >
2424 @Html.DisplayFor(model => model .Name_EN )
2525 </dd >
26- <dt class =" col-sm-2" >
27- @Html.DisplayNameFor(model => model .Active )
28- </dt >
29- <dd class =" col-sm-10" >
30- @Html.DisplayFor(model => model .Active )
31- </dd >
3226 </dl >
3327 <div class =" row" >
3428 <div class =" col-md-3" >
4135 <div class =" col-md-3" >
4236 <form asp-action =" Index" >
4337 <div class =" form-group" >
44- <input type =" submit" value =" LİSTEYE GERİ DÖN " class =" btn btn-block btn-primary" />
38+ <input type =" submit" value =" Listeye Geri Dön " class =" btn btn-block btn-primary" />
4539 </div >
4640 </form >
4741 </div >
6862 <dd class =" col-sm-10" >
6963 @Html.DisplayFor(model => model .Name_EN )
7064 </dd >
71- <dt class =" col-sm-2" >
72- @Html.DisplayNameFor(model => model .Active )
73- </dt >
74- <dd class =" col-sm-10" >
75- @Html.DisplayFor(model => model .Active )
76- </dd >
7765 </dl >
7866 <div class =" row" >
7967 <div class =" col-md-3" >
8674 <div class =" col-md-3" >
8775 <form asp-action =" Index" >
8876 <div class =" form-group" >
89- <input type =" submit" value =" LİSTEYE GERİ DÖN " class =" btn btn-block btn-primary" />
77+ <input type =" submit" value =" Listeye Geri Dön " class =" btn btn-block btn-primary" />
9078 </div >
9179 </form >
9280 </div >
Original file line number Diff line number Diff line change 4141 </div >
4242 <div class =" row" >
4343 <div class =" col-md-3" >
44- <form asp-action =" Edit" >
44+ <form asp-action =" Edit" method = " GET " asp-route-id = " @Model.Id " >
4545 <div class =" form-group" >
4646 <input type =" submit" value =" Düzenle" class =" btn btn-block btn-primary" />
4747 </div >
Original file line number Diff line number Diff line change 44 ViewData [" Title" ] = " Kategori Duzenle" ;
55}
66<div class =" container" >
7- <h1 >Duzenle </h1 >
7+ <h1 >Düzenle </h1 >
88 <hr />
99 <div class =" row" >
1010 <div class =" col-md-4" >
2121 <input asp-for =" Name_EN" class =" form-control" />
2222 <span asp-validation-for =" Name_EN" class =" text-danger" ></span >
2323 </div >
24- <div class =" form-group form-check" >
25- <label class =" form-check-label" >
26- <input class =" form-check-input" asp-for =" Active" /> @Html.DisplayNameFor(model => model.Active)
27- </label >
28- </div >
2924 <div class =" form-group" >
3025 <input type =" submit" value =" Kaydet" class =" btn btn-block btn-primary" />
3126 </div >
You can’t perform that action at this time.
0 commit comments