vue changes on nominee

This commit is contained in:
faiqahzaman
2024-03-03 11:08:12 +08:00
parent 1096f81bec
commit b8fcadcb1d
2 changed files with 9 additions and 9 deletions
@@ -11,13 +11,13 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="student_id">No. Anggota</label> <label for="no_anggota">No. Anggota</label>
<input type="text" name="student_id" class="form-control" required /> <input type="text" name="no_anggota" class="form-control" required />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="Unit">Unit</label> <label for="unit">Unit</label>
<input type="text" name="Unit" class="form-control" required /> <input type="text" name="unit" class="form-control" required />
</div> </div>
<div class="form-group"> <div class="form-group">
@@ -46,10 +46,10 @@
</select> </select>
</div> </div>
<div> <!-- <div>
<label for="image">Masukkan Gambar</label> <label for="image">Masukkan Gambar</label>
<input type="file" accept="image/*" @change="uploadImage($event)" id="file-input"> <input type="file" accept="image/*" @change="uploadImage($event)" id="file-input">
</div> </div> -->
<div class="form-group pull-right"> <div class="form-group pull-right">
@@ -36,7 +36,7 @@
<th>No. Anggota</th> <th>No. Anggota</th>
<th>Unit</th> <th>Unit</th>
<th>Position</th> <th>Position</th>
<th>Partylist</th> <!-- <th>Partylist</th> -->
<th>Action</th> <th>Action</th>
</tr> </tr>
</thead> </thead>
@@ -46,10 +46,10 @@
<img :alt="nominee.name" :src="data.storageURL+nominee.image" class="thumbnail" style="height: 60px;width: 60px;"> <img :alt="nominee.name" :src="data.storageURL+nominee.image" class="thumbnail" style="height: 60px;width: 60px;">
</td> </td>
<td>{{ nominee.name}}</td> <td>{{ nominee.name}}</td>
<td>{{ nominee.student_id}}</td> <td>{{ nominee.no_anggota}}</td>
<td>{{ nominee.unit}}</td> <td>{{ nominee.unit}}</td>
<td>{{ nominee.position}}</td> <td>{{ nominee.position}}</td>
<td>{{ nominee.partylist}}</td> <!-- <td>{{ nominee.partylist}}</td> -->
<td> <td>
<router-link :to="{name: 'Edit Nominee', params:{id:nominee.id}}" class="btn btn-info"> <router-link :to="{name: 'Edit Nominee', params:{id:nominee.id}}" class="btn btn-info">
<i class="fa fa-edit"></i> Edit <i class="fa fa-edit"></i> Edit