Add actions to attribute list

This commit is contained in:
Maximilian Grundke
2017-07-12 12:06:40 +02:00
parent c0160ae451
commit 2cc1a7478c

View File

@ -18,6 +18,7 @@ h3
th = t('activerecord.attributes.error_template_attribute.key')
th = t('activerecord.attributes.error_template_attribute.description')
th = t('activerecord.attributes.error_template_attribute.regex')
th colspan=3 = t('shared.actions')
tbody
- @error_template.error_template_attributes.order(:important).each do |attribute|
tr
@ -29,3 +30,5 @@ h3
td = attribute.key
td = attribute.description
td = attribute.regex
td = link_to(t('shared.show'), attribute)
td = "Remove"