|
<p>
|
|
<%
|
|
form_for_resource :html => {:multipart => true} do |f|
|
|
%>
|
|
<%=
|
|
stacking_form(f) do |table|
|
|
table.field :date, _("Date:"), :date_select
|
|
table.field :uploaded_data, _("Image:"), :file_field
|
|
form_comment(table)
|
|
table.content display_standard_form_buttons(submit_label)
|
|
end
|
|
%>
|
|
<%
|
|
end
|
|
%>
|
|
</p>
|