From 1d8eda67a98be8de8785332ade4eb0935ab857a6 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 13 Apr 2021 15:52:34 -0300 Subject: [PATCH] un tipo de campo que no hace nada --- app/models/metadata_hidden.rb | 4 ++++ app/views/posts/attribute_ro/_hidden.haml | 1 + app/views/posts/attributes/_hidden.haml | 1 + 3 files changed, 6 insertions(+) create mode 100644 app/models/metadata_hidden.rb create mode 100644 app/views/posts/attribute_ro/_hidden.haml create mode 100644 app/views/posts/attributes/_hidden.haml diff --git a/app/models/metadata_hidden.rb b/app/models/metadata_hidden.rb new file mode 100644 index 00000000..e3722e1f --- /dev/null +++ b/app/models/metadata_hidden.rb @@ -0,0 +1,4 @@ +# frozen_string_literal: true + +# Un tipo de datos oculto +class MetadataHidden < MetadataString; end diff --git a/app/views/posts/attribute_ro/_hidden.haml b/app/views/posts/attribute_ro/_hidden.haml new file mode 100644 index 00000000..0aab9802 --- /dev/null +++ b/app/views/posts/attribute_ro/_hidden.haml @@ -0,0 +1 @@ +-# nada diff --git a/app/views/posts/attributes/_hidden.haml b/app/views/posts/attributes/_hidden.haml new file mode 100644 index 00000000..0aab9802 --- /dev/null +++ b/app/views/posts/attributes/_hidden.haml @@ -0,0 +1 @@ +-# nada