diff options
| author | Zog | 2018-03-13 09:10:34 +0100 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-04-04 11:08:20 +0200 | 
| commit | f946eb8d72a5601020c420b33225c31b12277be4 (patch) | |
| tree | b4d2287a6f72b6d2d34c15a0076d2fe79d3c6312 /app/views/shared/custom_fields | |
| parent | ecf0dd6406576f8a63ee056fab73b05171c3e767 (diff) | |
| download | chouette-core-f946eb8d72a5601020c420b33225c31b12277be4.tar.bz2 | |
Refs #6089; Adds `attachment` Custom Fields
As well as an helper to render them in a partial
Diffstat (limited to 'app/views/shared/custom_fields')
| -rw-r--r-- | app/views/shared/custom_fields/_attachment.html.slim | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/shared/custom_fields/_attachment.html.slim b/app/views/shared/custom_fields/_attachment.html.slim new file mode 100644 index 000000000..2f25b396a --- /dev/null +++ b/app/views/shared/custom_fields/_attachment.html.slim @@ -0,0 +1 @@ += link_to I18n.t("custom_fields.#{field.owner.class.name.demodulize.underscore}.#{field.code}.link"), field.value.url  | 
