Edit column data

Posted 5 months ago by ziben69

Hello guys,

I have a model that consists of three columns: site_title, site_description, keywords.

In list.blade.php I have list of "keywords":

 @foreach($metaList as $meta)
           <p class="card-text">{{ $meta->site_keywords }}</p>
           <a class="card-link" href="{{ URL::to('meta/edit/' . $meta->id) }}"><i class="fas fa-pencil-alt"></i>Edit</a>
           <a class="card-link" href="{{ URL::to('meta/delete/' . $meta->id ) }}" onClick="return confirm('Are you sure?')"><i class="fas fa-times"></i>Remove</a>

do I need to make 3 separate edit views to edit data from one column? Or I can do something other? Hmm, my logical thinking lies... Thanks!

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.