foodsoft/app/views/home/ordergroup.html.haml
2013-09-20 22:40:13 +02:00

26 lines
881 B
Text

- title t('.title'), false
.row-fluid
.span4
%h2= @ordergroup.name
.well
%p
%b= t '.description'
= @ordergroup.description
%p
%b= t '.funds'
= number_to_currency(@ordergroup.get_available_funds())
%h2= t '.people'
%ul
- for membership in @ordergroup.memberships
%li= show_user membership.user
= link_to t('.invite'), new_invite_path(:id => @ordergroup), :remote => true, class: 'btn btn-primary'
.span8
%h2= t('.account_summary')
.well.well-small
= form_tag my_ordergroup_path, :method => :get, :remote => true,
'data-submit-onchange' => true, class: 'form-search' do
= text_field_tag :query, params[:query], class: 'input-medium search-query',
placeholder: t('.search')
#transactions= render "finance/financial_transactions/transactions"