rows_controller 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  <%= content_for(content) %>
2
2
  <% (names || []).each do |name| %>
3
- <input type="submit" name="commit" value="<%=name%>" />
3
+ <button class="button" type="submit" name="commit" value="<%=name%>"><%=name%></button>
4
4
  <% end %>
@@ -4,7 +4,7 @@
4
4
  # partial 'form' template
5
5
 
6
6
  content_for(:submit_left) { link_to t('button.back', :default => 'Back'),
7
- "/#{controller_name}" }
7
+ "/#{controller_name}", class: 'button' }
8
8
  %>
9
9
 
10
10
  <%= render '/shared/error_explanation' %>
@@ -4,11 +4,10 @@
4
4
  # Requires resource model_name model_symbol
5
5
  # partial 'form' template
6
6
 
7
- content_for(:submit_left) { link_to t('button.edit', :default => 'Edit'),
8
- url_for(:action => :edit) }
9
- content_for(:submit_left) { ' | ' }
10
7
  content_for(:submit_left) { link_to t('button.back', :default => 'Back'),
11
- url_for(:action => :index) }
8
+ url_for(:action => :index), class: 'button' }
9
+ content_for(:submit_right) { link_to t('button.edit', :default => 'Edit'),
10
+ url_for(:action => :edit), class: 'button' }
12
11
  %>
13
12
 
14
13
  <%= render '/shared/error_explanation' %>
@@ -1,3 +1,3 @@
1
1
  module Rows
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rows_controller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
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: 2012-06-24 00:00:00.000000000 Z
12
+ date: 2012-07-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sqlite3
@@ -133,9 +133,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
133
  - - ! '>='
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
- segments:
137
- - 0
138
- hash: -984436499
139
136
  required_rubygems_version: !ruby/object:Gem::Requirement
140
137
  none: false
141
138
  requirements: