has_accounts_engine 3.0.0.beta2 → 3.0.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0aec60d4ce390f6f94daddf69f789309cb584d94
4
- data.tar.gz: 1b7a4562b4188c7d763b391167f2941ba164877c
3
+ metadata.gz: e68304337e2479be1cd71263624049110e17b334
4
+ data.tar.gz: c9009aa698548115c66ab31cbce21420fcd479fb
5
5
  SHA512:
6
- metadata.gz: 1196cd68208de9cca03bf8403f0f72e4dfeb265ed29e6c888b4f6ca3b7e3fe6e435042a905144eeb7e002c8ebd4421e22abc6e9373fbd6182c647743539d2a91
7
- data.tar.gz: 01fd6e81a0501ea896977b9dff93f560393de5411dc4a95bb9b8c05605e4d81f6d4a2a12fbe13c531dfe57d43e2f5da47e2cad3b1df78cfdb5e5dbe0fa8420ff
6
+ metadata.gz: a210303720c7017efb7f275e7318d2744372b8ed35ab1add1d80dceb7e457a1e47b01e6272c96be2de6e8cf267e36f2964fffd8002119b2ac1541b52d28c9e36
7
+ data.tar.gz: c4467c36797c20f4ffeace0afe48975125da1e961367a237da66fb0325bd04d80eebcd7a7ee383d4439192365fe91458ffe1571bc2523b7b952dab208498af32
@@ -6,6 +6,9 @@
6
6
  - if booking_template.comments.present?
7
7
  %hr{:style => "height: 1px; margin: 0"}/
8
8
  %i= booking_template.comments
9
+ %td
10
+ - booking_template.tags.each do |tag|
11
+ = boot_label(tag)
9
12
  %td= link_to booking_template.debit_account.code, account_path(booking_template.debit_account), :title => booking_template.debit_account.title unless booking_template.debit_account.nil?
10
13
  %td= link_to booking_template.credit_account.code, account_path(booking_template.credit_account), :title => booking_template.credit_account.title unless booking_template.credit_account.nil?
11
14
  %td.currency= amount_to_s(booking_template)
@@ -5,10 +5,10 @@
5
5
  .span6
6
6
  = f.input :code
7
7
  .row-fluid
8
- .span6
9
- = f.association :debit_account, :as => :combobox, :collection => accounts_as_collection, :input_html => {:class => 'span6'}
10
8
  .span6
11
9
  = f.association :credit_account, :as => :combobox, :collection => accounts_as_collection, :input_html => {:class => 'span6'}
10
+ .span6
11
+ = f.association :debit_account, :as => :combobox, :collection => accounts_as_collection, :input_html => {:class => 'span6'}
12
12
  .row-fluid
13
13
  .span6
14
14
  = f.input :amount
@@ -16,7 +16,7 @@
16
16
  = f.input :amount_relates_to, :collection => amount_relations_as_collection
17
17
  .row-fluid
18
18
  .span12
19
- = f.input :tag_list, :input_html => {:class => 'select2-tags'}
19
+ = f.input :tag_list, :input_html => {:class => ['select2-tags', 'span12']}
20
20
 
21
21
  .row-fluid
22
22
  .span12
@@ -2,6 +2,7 @@
2
2
  %thead
3
3
  %tr
4
4
  %th= t_attr :title, BookingTemplate
5
+ %th= t_attr :tag_list, BookingTemplate
5
6
  %th= t_attr :debit_account, BookingTemplate
6
7
  %th= t_attr :credit_account, BookingTemplate
7
8
  %th.currency= t_attr 'amount', BookingTemplate
@@ -1,3 +1,3 @@
1
1
  module HasAccountsEngine
2
- VERSION = "3.0.0.beta2"
2
+ VERSION = "3.0.0.beta3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_accounts_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta2
4
+ version: 3.0.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Hürlimann (CyT)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-04 00:00:00.000000000 Z
11
+ date: 2015-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -348,8 +348,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
348
348
  version: 1.3.1
349
349
  requirements: []
350
350
  rubyforge_project:
351
- rubygems_version: 2.2.2
351
+ rubygems_version: 2.4.5
352
352
  signing_key:
353
353
  specification_version: 4
354
354
  summary: HasAccountsEngine provides controllers, views for has_accounts.
355
355
  test_files: []
356
+ has_rdoc: