frontendeditor 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,6 @@ module FrontendEditorHelper
3
3
  options[:id] ||= model.id
4
4
  options[:method] ||= 'body'
5
5
  options[:object] ||= model.class.name.demodulize.pluralize.downcase
6
- options[:content] ||= model.send(options[:method])
7
6
 
8
7
  content_tag(:div,
9
8
  class: 'editable-long-text',
@@ -1,3 +1,3 @@
1
1
  module Frontendeditor
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -1,5 +1,5 @@
1
- <footer>
1
+ <div id="toolbar">
2
2
  <a class="editing-mode">Mode edition</a>
3
3
  <a class="save">Sauvegarder</a>
4
4
  <a class="cancel">Annuler</a>
5
- </footer>
5
+ </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frontendeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-15 00:00:00.000000000 Z
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jquery-ui-rails