standard_view 0.1.13 → 0.1.14

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
  SHA256:
3
- metadata.gz: 0b174bbc31ec6cee5135713aeaf059949acecf30e4e3f02938c76dacb4d88f49
4
- data.tar.gz: da72bb14254a408ec3abbc84e0600fd2a36646f1b5801a56beb12eda043e8a31
3
+ metadata.gz: b3b47dc891219d4f611bacd257c6524cefa49cd5000fd567602b7e1875bdd212
4
+ data.tar.gz: 0bc34d4c60ac97fb29d70790379cf7e93f89ca32a5e477c872e217f23e603d72
5
5
  SHA512:
6
- metadata.gz: 4d322d4648eba054958477b6eea08a1f775ddb426c22ecb38c9a680ebea2176ccb217284d6487fb78ebd9e38fc10e4429c146cfefb077c8086ddf12e7af87883
7
- data.tar.gz: c67038dbc46326ad404cd2c5d37d590eaa1ffddd4b4836bf054efae068025baecbb2f62c271ebb7f83f07be4b0a233dce02a1e70ff02a860b485c6310f2be3b6
6
+ metadata.gz: 63c859ba9522261002df6aba53ac7af4572390d7494984cad8805a604079741d2563a94772cbf60006f61f02c135e90c8a12c56013a69872541b0660bd8b42ee
7
+ data.tar.gz: 39afb75ab28fefc64022ee6e9d05c930588dbe239aab507bf592e0e34a795570582e87b39537c38df25efd1fa4f0a3f8e5cc283c602f614e0580b6ed048bdb14
@@ -1,5 +1,5 @@
1
1
  <% material_law = law(material) %>
2
- <%= simple_form_for [ material.parent, material ], wrapper: :horizontal_form do |form| %>
2
+ <%= simple_form_for (actionable_name == "new" ? [ material.parent, material ] : material), wrapper: :horizontal_form do |form| %>
3
3
  <div class="card">
4
4
  <div class="card-header">
5
5
  <h4 class="mb-0"><%= t(".#{actionable_name}.title", title: material.title) %></h4>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StandardView
4
- VERSION = "0.1.13"
4
+ VERSION = "0.1.14"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Garside
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-04-28 00:00:00.000000000 Z
12
+ date: 2020-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -338,7 +338,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
338
338
  - !ruby/object:Gem::Version
339
339
  version: '0'
340
340
  requirements: []
341
- rubygems_version: 3.1.2
341
+ rubyforge_project:
342
+ rubygems_version: 2.7.6
342
343
  signing_key:
343
344
  specification_version: 4
344
345
  summary: A highly functional and largely automated presentation layer.