Ver Mensaje Individual
  #4 (permalink)  
Antiguo 14/09/2013, 01:28
eternoaprendiz
 
Fecha de Ingreso: junio-2013
Ubicación: Madrid
Mensajes: 73
Antigüedad: 10 años, 10 meses
Puntos: 27
Respuesta: como cambiar atributos de input con laravel 4

Código PHP:
Ver original
  1. {{ Form::text('text', null ,array('class' => 'form-control', 'placeholder' => 'Email', 'readonly' => 'readonly')) }}

http://www.w3schools.com/tags/att_input_readonly.asp

Cita:

Differences Between HTML and XHTML
In XHTML, attribute minimization is forbidden, and the readonly attribute must be defined as <input readonly="readonly" />.