Disable CSS stylesheet for a specific action in Symfony

Is there any way of disabling a stylesheet in view.yml for a specific action in Symfony?

For example I've got this in my view.yml:

  stylesheets:    [default.css]

I want to be able to do something like:

  stylesheet: [!default.css]

to disable default.css in displaySuccess only

Is this possible or do I have to explicitly say which modules/actions should have default.css?


You can remove or add stylesheets to a modules view.yml by doing the following:

  stylesheet: [-default]

would remove default.css from the display action. Simply putting

  stylesheet: [-*]

would remove all stylesheets.

Need Your Help

Faster way to transform group with mean value in Pandas

python numpy pandas

I have a Pandas dataframe where I am trying to replace the values in each group by the mean of the group. On my machine, the line df["signal"].groupby(g).transform(np.mean) takes about 10 seconds t...

What tools are commonly used to visualize meteorological and climatological data?


I am interested in visualizing meteorological and climatological data.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.