|
46 | 46 | <div class="card-body p-0"> |
47 | 47 | <div class="p-4 border-bottom"> |
48 | 48 | <div class="form-floating"> |
49 | | - <input type="text" class="form-control form-control-lg shadow-none fs-3 fw-semibold" |
50 | | - id="title" placeholder="Enter your post title..." |
51 | | - @oninput="args => model.Title = args.Value!.ToString()!" |
| 49 | + <input type="text" class="form-control form-control-lg shadow-none fs-3 fw-semibold" id="title" @oninput="args => model.Title = args.Value!.ToString()!" |
52 | 50 | value="@model.Title"/> |
53 | 51 | <label for="title" class="fw-bold">Post Title</label> |
54 | 52 | </div> |
|
155 | 153 | </div> |
156 | 154 | <div class="card-body"> |
157 | 155 | <div class="form-floating"> |
158 | | - <InputText type="text" class="form-control" id="tags" |
159 | | - placeholder="technology, programming, tutorial" |
160 | | - @bind-Value="model.Tags" /> |
| 156 | + <InputText type="text" class="form-control" id="tags" @bind-Value="model.Tags" /> |
161 | 157 | <label for="tags">Tags (comma separated)</label> |
162 | 158 | </div> |
163 | 159 | <small class="form-text text-muted mt-2"> |
|
228 | 224 | <div class="card-body"> |
229 | 225 | <div class="mb-3"> |
230 | 226 | <div class="form-floating"> |
231 | | - <InputText type="url" class="form-control" id="preview" |
232 | | - placeholder="https://example.com/image.jpg" |
233 | | - @bind-Value="model.PreviewImageUrl" /> |
| 227 | + <InputText type="url" class="form-control" id="preview" @bind-Value="model.PreviewImageUrl" /> |
234 | 228 | <label for="preview">Primary Image URL</label> |
235 | 229 | </div> |
236 | 230 | <ValidationMessage For="() => model.PreviewImageUrl" class="text-danger small mt-1"></ValidationMessage> |
237 | 231 | </div> |
238 | 232 | <div class="mb-3"> |
239 | 233 | <div class="form-floating"> |
240 | | - <InputText type="url" class="form-control" id="fallback-preview" |
241 | | - placeholder="https://example.com/fallback.jpg" |
242 | | - @bind-Value="model.PreviewImageUrlFallback" /> |
| 234 | + <InputText type="url" class="form-control" id="fallback-preview" @bind-Value="model.PreviewImageUrlFallback" /> |
243 | 235 | <label for="fallback-preview">Fallback Image URL</label> |
244 | 236 | </div> |
245 | 237 | <ValidationMessage For="() => model.PreviewImageUrlFallback" class="text-danger small mt-1"></ValidationMessage> |
|
0 commit comments