使用引导卡文本和水平列表组,我能够在引导卡中显示信息,但我希望它们像引导 4 形式一样可编辑。那么,我将如何做到这一点?我提供了在 bootstrap 4 卡中显示信息的代码。
<div class="personal">
<div class="card">
<div class="card-body">
<h5 class="card-title">Personal</h5>
<p class="card-text">Your Personal Inforation</p>
<ul class="list-group list-group-horizontal">
<li class="list-group-item">Mobile Phone</li>
<li class="list-group-item">{{employee.phone_number}}</li>
</ul>
<ul class="list-group list-group-horizontal">
<li class="list-group-item">Birth Date</li>
<li class="list-group-item">{{employee.birth_date}}</li>
</ul>
<ul class="list-group list-group-horizontal">
<li class="list-group-item">Age</li>
<li class="list-group-item">age</li>
</ul>
<ul class="list-group list-group-horizontal">
<li class="list-group-item">Address</li>
<li class="list-group-item">{{employee.address}}</li>
</ul>
<ul class="list-group list-group-horizontal">
<li class="list-group-item">Gender</li>
<li class="list-group-item">{{employee.gender}}</li>
</ul>
</div>
</div>
</div>