mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Extract status message markup into partial
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
%div.four.columns.alpha
|
||||
%input.four.columns.alpha{ :type => 'button', :value => 'Save Changes', 'ng-click' => 'submitProducts()'}
|
||||
%div.nine.columns
|
||||
= render 'spree/admin/shared/status_message'
|
||||
%h6{ id: "update-status-message", ng: { style: 'StatusMessage.statusMessage.style' } }
|
||||
{{ StatusMessage.statusMessage.text || " " }}
|
||||
%div.three.columns.omega
|
||||
|
||||
2
app/views/spree/admin/shared/_status_message.html.haml
Normal file
2
app/views/spree/admin/shared/_status_message.html.haml
Normal file
@@ -0,0 +1,2 @@
|
||||
%h6{ id: "update-status-message", ng: { style: 'StatusMessage.statusMessage.style' } }
|
||||
{{ StatusMessage.statusMessage.text || " " }}
|
||||
Reference in New Issue
Block a user