Skip to content
Browse files

Added setup instructions to README

  • Loading branch information...
1 parent 6a55358 commit 8a847df166e21a10184c0acf6ff5fb6d0c42a4d0 @parolkar committed Apr 4, 2009
View
14 README
@@ -12,7 +12,19 @@ has_profile_items brings you comfort of quickly creating generic profile items a
Example
=======
-will soone come here
+coming soon
+
+
+Quick Installation (only if you already know how to use plugin)
+==================
+
+
+$ cd your_project_dir
+
+you should be using haml/sass for your templates , if not, go set it up http://github.com/chriseppstein/compass-rails-sample-application/tree/master
+
+$ git submodule add git://github.com/parolkar/has_profile_items.git vendor/plugins/has_profile_items
+$ rake has_profile_items:setup
Copyright (c) 2009 [Abhishek Parolkar] abhishek[at]parolkar.com , released under the MIT license
View
2 app/views/profile_items/edit/_first_name.html.haml
@@ -2,6 +2,6 @@
%label
First Name
= text_field_tag 'content', "#{first_name.content.to_s}", :size => 20
- = image_submit_tag("profile_item_save.png")
+ = image_submit_tag("has_profile_items/profile_item_save.png")
View
2 app/views/profile_items/show/_first_name.html.haml
@@ -2,7 +2,7 @@
First Name
%label
= first_name.content.to_s
-= link_to_remote(image_tag("profile_item_edit.png"), :url => "/profile_items/edit/#{first_name.id}" , :update =>"profile-item-#{first_name.id}")
+= link_to_remote(image_tag("has_profile_items/profile_item_edit.png"), :url => "/profile_items/edit/#{first_name.id}" , :update =>"profile-item-#{first_name.id}")

0 comments on commit 8a847df

Please sign in to comment.
Something went wrong with that request. Please try again.