From d25327d32d4a2a425adf2865ba57cbdd8c167a9f Mon Sep 17 00:00:00 2001 From: Raphael <raphael@joindiaspora.com> Date: Wed, 8 Sep 2010 11:07:49 -0700 Subject: [PATCH] Add example to request partial --- app/views/requests/_new_request.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/requests/_new_request.haml b/app/views/requests/_new_request.haml index 5dbe3b203d..13aba98d94 100644 --- a/app/views/requests/_new_request.haml +++ b/app/views/requests/_new_request.haml @@ -6,7 +6,9 @@ = f.error_messages Enter a Diaspora URL, Diaspora username, or random email address: - = f.text_field :destination_url + %p + = f.label :destination_url, "Your Diaspora URL is: #{current_user.username}@#{request.host}" + = f.text_field :destination_url = f.hidden_field :group_id, :value => @group.id = f.submit -- GitLab