foodsoft/app/views/home/ordergroup.html.haml

27 lines
876 B
Plaintext
Raw Normal View History

2013-02-04 00:46:22 +01:00
- title t('.title'), false
.row-fluid
.span4
%h2= @ordergroup.name
.well
%p
2013-02-04 00:46:22 +01:00
%b= t '.description'
= @ordergroup.description
%p
2013-02-04 00:46:22 +01:00
%b= t '.funds'
= number_to_currency(@ordergroup.get_available_funds())
2013-02-04 00:46:22 +01:00
%h2= t '.people'
%ul
- for membership in @ordergroup.memberships
%li= membership.user.nick
2013-02-04 00:46:22 +01:00
= link_to t('.invite'), new_invite_path(:id => @ordergroup), :remote => true, class: 'btn btn-primary'
.span8
2013-02-04 00:46:22 +01:00
%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',
2013-02-04 00:46:22 +01:00
placeholder: t('.search')
#transactions= render "finance/financial_transactions/transactions"
2013-02-04 00:46:22 +01:00