beef-pages 0.3.17 → 0.3.18

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.17
1
+ 0.3.18
@@ -8,7 +8,7 @@
8
8
  <td class="date"><%= page.created_at.to_formatted_s(:short) %></td>
9
9
  <td class="date"><%= page.published_at.to_formatted_s(:short) unless page.published_at.nil? %></td>
10
10
  <td class="date"><%= page.published_to.to_formatted_s(:short) unless page.published_to.nil? %></td>
11
- <td class="action"><%= link_to 'Show', page_path(page.permalink), :class => 'show' if page.published?, :title => 'View this page' %></td>
11
+ <td class="action"><%= link_to 'Show', page_path(page.permalink), :class => 'show', :title => 'View this page' if page.published? %></td>
12
12
  <td class="action"><%= link_to 'Add page', new_admin_page_page_path(page), :class => 'add', :title => "Add a sub-page under #{page.title}" unless page.lock_level >= Page::LOCK_LEVEL_SUBPAGE %></td>
13
13
  <td class="action"><%= link_to 'Edit', [:admin, page], :class => 'edit', :title => 'Edit this page' %></td>
14
14
  <td class="action"><%= link_to('Delete', admin_page_path(page), :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this page') unless page.lock_level >= Page::LOCK_LEVEL_DELETE %></td>
@@ -22,6 +22,16 @@
22
22
  </p>
23
23
  <% end %>
24
24
 
25
+ <p>
26
+ <%= f.label :body, 'Body*' %><br/>
27
+ <%= f.text_area 'body', :class => 'editor' %>
28
+ </p>
29
+
30
+ <p>
31
+ <%= f.label :description, "Description*" %><br/>
32
+ <%= f.text_area :description, "rows" => 4 %>
33
+ </p>
34
+
25
35
  <% if @page.lock_level < Page::LOCK_LEVEL_PERMALINK %>
26
36
  <p>
27
37
  <%= f.label :permalink, "URL" %><br/>
@@ -36,16 +46,6 @@
36
46
  </p>
37
47
  <% end %>
38
48
 
39
- <p>
40
- <%= f.label :body, 'Body*' %><br/>
41
- <%= f.text_area 'body', :class => 'editor' %>
42
- </p>
43
-
44
- <p>
45
- <%= f.label :description, "Description*" %><br/>
46
- <%= f.text_area :description, "rows" => 4 %>
47
- </p>
48
-
49
49
  <p>
50
50
  <%= f.label :tag_list, "Keywords (used by search engines) & Tags - comma separated*" %><br/>
51
51
  <%= f.text_field :tag_list, :class => 'long' %>
data/beef-pages.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{beef-pages}
8
- s.version = "0.3.17"
8
+ s.version = "0.3.18"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Steve England"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beef-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.17
4
+ version: 0.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve England