I'm testing and deploying storm for the company where I work.

We wanted to let users with proper permissions to change the user associated with a timetracking, but the form was lacking of the fields.

I dived into the code to find where I could change this behavior, I started to study Drupal form syntax, and tried to write a module that overrides this. At the end of the working day I found out that it was hidden by a silly CSS rule...

Hiding these fields may simplify data entry, but some may want to alter these fields. And I don't like the fact that they are still here, but just hidden by style. I think you should let users choose to show or not to show these fields. Permission options can disable them, and modules like Override Node Options can offer more options.

CommentFileSizeAuthor
css-patch.txt797 bytesfabio84

Comments

Magnity’s picture

Status: Needs work » Fixed

Yes, it would be fair to let the site admin decide, and the css could be readded with a theme if really desired.

I've removed all except

form.stormcomponent_node_form #edit-preview {
display: none;
}

This is required at the moment due to #377680: Support for node preview.

Readers of this issue might also be interested in #370120: Don't load CSS and JS on every page on a similar topic.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.