49 lines
1.1 KiB
Text
49 lines
1.1 KiB
Text
- content_for :head do
|
|
= javascript_include_tag 'jquery-ui-1.8.4.custom.min.js'
|
|
= javascript_include_tag 'aspect-edit.js'
|
|
|
|
- content_for :left_pane do
|
|
%h1
|
|
Requests
|
|
|
|
%li.requests
|
|
%ul
|
|
- for request in @remote_requests
|
|
%li.requested_person{:id => request.person.id, :request_id => request.id}
|
|
= image_tag(request.person.profile.image_url(:thumb_small)) unless request.person.profile.image_url.nil?
|
|
.name
|
|
= request.person.real_name
|
|
|
|
%h1
|
|
Ignore/Remove
|
|
|
|
%li.remove
|
|
%ul
|
|
|
|
|
|
%h1{:id => 'aspect_title'}
|
|
Aspects
|
|
|
|
%ul#aspect_list
|
|
|
|
- for aspect in @aspects
|
|
|
|
%li.aspect
|
|
%h3{:contenteditable => true}= aspect.name
|
|
|
|
%ul{:id => aspect.id}
|
|
-if aspect.people.size < 1
|
|
%li.grey Drag to add people
|
|
|
|
-else
|
|
-for person in aspect.people
|
|
|
|
%li.person{:id => person.id, :from_aspect_id => aspect.id}
|
|
= person_image_tag(person)
|
|
.name
|
|
= person.real_name
|
|
%p
|
|
%br
|
|
= link_to 'Update Aspects', '#', :class => 'button', :id => "move_friends_link"
|
|
|
|
#content_bottom
|