title: Showing an input in a view depending on role
body: <p>I have a fat view (add) with a lot of inputs (it's a form).</p>
  
  <p>For a role , there is a user_id input that is necessary, but for another role it isn't necessary. Here it comes my question, I know that elements are used for this kind of things, but I would be duplicating a lot of code if I make a view with this input and another one without it. Is there any way to just replace a line of code depending on the role? How would it be?</p>
  
  <p>Thank you very much in advance, have a nice day!</p>