How to implement css classes in form using laravel collective 5.2 . *

Tags: html,css,laravel

Problem :

Hi I am developing an application and I need to implement css classes to a form using collective laravel "5.2.*".

The code I have for now is this:

{!! Form::model($user, array('route' => array('home.user.update', $user->id)), css clases should go here? or what !!}

{!! Form::close() !!}

When I try to put css class, it doesn't work.

Solution :

Class should added like this..

 {!! Form::model($home, ['id' => 'form1','method' => 'PATCH', 'action' => ['HomeController@update',$home->id], 'class' => 'form-horizontal', 'files' => 'true']) !!} 

    CSS Howto..

    Basic Accordion pull down using java script and css not working. How can I get it to not have a symbol beside it?

    How to shade every other table row that spans across multiple rows?

    How to keep css background image blurred inside a container?

    How to change the background-color of jumbrotron?

    How can I align a text that has a specific width at the center of a div?

    How to refactor CSS based on HTML class

    Show or hide div based on selected value

    How do I get text to wrap to not break out of the box using CSS?

    How to change image size on featured images in wordpress?

    How to change the icon of a JStree node using only css?

    How to change CSS with jquery?

    why is the space (shown in image) is added below when using vertical-align? How to fix it?

    How to add pixels to a current position of an element?

    How to Add Another Instance of Date picker in given Code

    How to make scroll bar permanently visible on Mac OS using CSS or jQuery

    How to push up text in CSS?

    How to hide a column in the Webgrid in MVC?

    CSS height, How to get it to go around inner divs

    Twitter widget covers up another div that might appear over it . How to make twitter widget appear under?

    Changing my web-font in css caused a my old font-size values defined in “em” to be inaccurate. How to fix it?

    How to add an anchor tag to a block of html?

    How to make HTML pages print at a consistent size from Chrome?

    CSS while hover a div how to display other class(or) div?

    How to change style to a class from a rel attribute CSS

    CSS Cascading takes over inheritance, how to solve this?

    How do I configure syntax highlighting for LESS in coda?

    Learning Bootstrap Thumbnails…why is that bullet showing?

    How to use 100% CSS background-image with scrolling content?

    Using CSS, how can I get the pseudo-class 'empty' on Element B to affect the styling of Element A?

    Is XSS possible via an @import, and if so how? Are there ways to protect against it?