Fix identifier length
Add validation for field length.
Add maxlength constraint in html input form.
Add method to resized text and caption into application_decorator.