Add actions to attribute list
This commit is contained in:
@ -18,6 +18,7 @@ h3
|
|||||||
th = t('activerecord.attributes.error_template_attribute.key')
|
th = t('activerecord.attributes.error_template_attribute.key')
|
||||||
th = t('activerecord.attributes.error_template_attribute.description')
|
th = t('activerecord.attributes.error_template_attribute.description')
|
||||||
th = t('activerecord.attributes.error_template_attribute.regex')
|
th = t('activerecord.attributes.error_template_attribute.regex')
|
||||||
|
th colspan=3 = t('shared.actions')
|
||||||
tbody
|
tbody
|
||||||
- @error_template.error_template_attributes.order(:important).each do |attribute|
|
- @error_template.error_template_attributes.order(:important).each do |attribute|
|
||||||
tr
|
tr
|
||||||
@ -29,3 +30,5 @@ h3
|
|||||||
td = attribute.key
|
td = attribute.key
|
||||||
td = attribute.description
|
td = attribute.description
|
||||||
td = attribute.regex
|
td = attribute.regex
|
||||||
|
td = link_to(t('shared.show'), attribute)
|
||||||
|
td = "Remove"
|
||||||
|
Reference in New Issue
Block a user