Jump to content
Fórum Script Brasil
  • 0

Mostrar Editar Apagar na frente de cada linha


Porter
 Share

Question

olá pessoal, na rotina abaixo, gostaria que a opção Editar, Apagar apareça na frente de cada valor, mas da forma como está, aparece somente na frente do ultimo, gostaria de saber se tem como, gostaria que ficase assim:

1   TANQUINHO        199,00     Editar Apagar

2   CAMA JUVENIL   345,00     Editar Apagar

 

        <table class="table table-hover">
            <tr>
                <th>Id</th>
                <th>Descrição</th>
                <th>Valor</th>
                <th></th>
            </tr>
            <tr class="danger">
                <!-- class serve para aplicar um estilo -->
                <tr> 
                    <td>1</td>
                    <td class="success">TANQUINHO </td>
                    <td>199,00</td>
                    <td>
                </tr> 
                <tr>  
                    <td>2</td>
                    <td class="success">CAMA JUVENIL</td>
                    <td>345,00</td>
                    <td>
                </tr>    
                <tr>
                    <td>3</td>
                    <td class="success">ALMOFADA SUED</td>
                    <td>33,92</td>
                    <td>
                </tr>             
                           
                    <td>4</td>
                    <td class="success">GELADEIRA CONSUL</td>
                    <td>1000,00</td>
                    <td> 
                
                <td>
                    <a href="#" class="btn btn-primary btn-xs">
                        <span class="glyphicon glyphicon-edit"></span>
                        Editar
                    </a>
                    <a href="#" class="btn btn-danger btn-xs">
                        <span class="glyphicon glyphicon-trash"></span>
                        Apagar
                    </a>
                </td>
            </tr>
        </table>
 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Forum Statistics

    • Total Topics
      149.6k
    • Total Posts
      646.2k
×
×
  • Create New...