Window functions cause awful execution plan when called from a view with external parametrized 'where' clause
This appears to be a long standing issue that keeps resurfacing in one form or another and is still present in SQL Server 2012.
Some posts discussing it are

Performance Tuning 101 - 2005
Plan Regression with Sequence Projections - 2008 R2 @Paul White
Common Table Expressions (CTEs), Window Functions, and Views - 2012 @Jonathan Kehayias
The Problem with Window Functions and Views

All current versions of SQL Server up to and including 2012 are not able to push the filter on a partitioning group past the sequence project for a parameterised predicate except if option(recompile) is used (if 2008+).
An alternative to the recompile hint would be to rewrite the query to use a parameterised inline TVF as suggested by @a1ex07)