radiant-locked_page_parts-extension 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -1,9 +1,9 @@
1
1
  - page_part_counter = @page.parts.index(page_part)
2
2
  - if current_user.admin?
3
3
  %span.lock_page_part
4
- ~ hidden_field_tag "page[parts_attributes][#{page_part_counter}][locked]", :value => '0'
5
- ~ check_box_tag "page[parts_attributes][#{page_part_counter}][locked]", '1', page_part.locked?
6
- %label{:for => "page_parts_attributes_#{page_part_counter}_locked"}
4
+ ~ hidden_field_tag "page[parts_attributes][#{page_part_counter}][locked]", '0'
5
+ %label
6
+ ~ check_box_tag "page[parts_attributes][#{page_part_counter}][locked]", '1', page_part.locked?
7
7
  = t('locked_page_parts.locked')
8
8
  - elsif page_part.locked?
9
9
  :javascript
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-locked_page_parts-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benny Degezelle
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-03 00:00:00 +02:00
18
+ date: 2011-06-11 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency