<%= form.label :attachment %>:
<%= form.file_field :attachment %>

<%= form.label :alt %>:
<%= form.text_field :alt, :class => 'text' %>