I am trying to add a trash can icon to send, and I have tried this:
{!! Form::submit('', ['class' => 'btn btn-warning btn-sm fa fa-trash']) !!}
but the icon will not be displayed. How to solve this? thanks in advance!
Try using the Form :: button instead of the form :: submit:
{{ Form::button('<i class="fa fa-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-warning btn-sm'] ) }}
Source: https://habr.com/ru/post/1013268/More articles:numpy array into permutation matrix - performanceHow to see C ++ function calls behind the SWIG interface, TensorFlow - c ++Using plt.imshow () to display multiple images - pythonNode.js how to read json data from request? - jsonFroala - Get HTML - javascriptHow to read floating symbols in golang? - goWhy ClojureScript atoms do not implement the full protocol? - clojurer creating an adjacency matrix from columns in a data frame - rCSS columns not displaying all content in Chrome 55 - htmlHow to get the string name of a class of a React Native component? - react-nativeAll Articles