1c61f2de58
Make it more reusable, by: - Renaming `attachment/update` to `attachment/edit` - Refactoring the CSS styles into their own stylesheet - Allow to specify the 'accept' option
3 lines
162 B
Text
3 lines
162 B
Text
<%= render_flash(timeout: 5000, sticky: true) %>
|
|
<%= remove_element("#attachment_#{@attachment_id}") %>
|
|
<%= show_element("#attachment_file_#{@attachment_id}") %>
|