Fix translations error and refactor nested documentable shared example spec.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<%
|
||||
nested_fields = render 'documents/nested_document', document: @document, index: params[:index]
|
||||
new_document_link = link_to "Añadir nuevo documento",
|
||||
new_document_link = link_to t("documents.form.add_new_document"),
|
||||
new_document_path(documentable_type: params[:documentable_type], index: params[:index].to_i + 1),
|
||||
remote: true,
|
||||
id: "new_document_link"
|
||||
|
||||
Reference in New Issue
Block a user