SyntaxError in Upload#index

Showing *app/views/upload/uploadfile.rhtml* where line *#10* raised:

compile error
app/views/upload/uploadfile.rhtml:10: syntax error

Extracted source (around line *#10*):

7: <% end  %>

Trace of template inclusion: app/views/upload/uploadfile.rhtml

RAILS_ROOT: /home/malathi/www/upload
Application Trace <http://localhost:3000/upload#> | Framework
Trace<http://localhost:3000/upload#>| Full
Trace <http://localhost:3000/upload#>

app/views/upload/uploadfile.rhtml:10:in `compile!'
/home/malathi/www/upload/app/controllers/upload_controller.rb:3:in `index'



On Tue, Nov 17, 2009 at 1:46 PM, Frederick Cheung <
[email protected]> wrote:

>
>
>
> On Nov 17, 5:36 am, malathi selvaraj <[email protected]> wrote:
> > Extracted source (around line *#7*):
> >
> > 4: <p><label for="upload_file">Select File</label> :
> > 5: <%= file_field 'upload', 'datafile' %></p>
> > 6: <%= submit_tag "Upload" %>
> > 7: <%= end  %>
> >
> that should be <% end %>
>
> Fred
>
> > Trace of template inclusion: app/views/upload/uploadfile.rhtml
> >
> > RAILS_ROOT: /home/malathi/www/upload
> > Application Trace <http://localhost:3000/upload#> | Framework
> > Trace<http://localhost:3000/upload#>| Full
> > Trace <http://localhost:3000/upload#>
> >
> > app/views/upload/uploadfile.rhtml:12:in `compile!'
> > /home/malathi/www/upload/app/controllers/upload_controller.rb:3:in
> `index'
> >
> > --
> > Regards,
> > S.Malathi.
> >
>


-- 
Regards,
S.Malathi.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to