Commit 62c447bf authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'preview_bug' into 'master'

Preview appearance bug

#215

See merge request !291
parents ed1c4aa5 ad8a76e4
...@@ -54,7 +54,8 @@ ...@@ -54,7 +54,8 @@
.form-actions .form-actions
= f.submit 'Save', class: 'btn btn-save' = f.submit 'Save', class: 'btn btn-save'
= link_to 'Preview', preview_admin_appearances_path, class: 'btn', target: '_blank' - if @appearance.persisted?
= link_to 'Preview last save', preview_admin_appearances_path, class: 'btn', target: '_blank'
- if @appearance.updated_at - if @appearance.updated_at
%span.pull-right %span.pull-right
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment