diff options
| author | Bruno Perles | 2016-01-07 14:51:03 +0100 |
|---|---|---|
| committer | Bruno Perles | 2016-01-07 14:51:03 +0100 |
| commit | 48b7e696ee4c273335889be3f68ad8f0a61ba8e9 (patch) | |
| tree | bb00dfc30f818b674d59ed411ec532af9a24719a /app/views/shared | |
| parent | f46b02367430be136e8e91cb138be4f84eed24d9 (diff) | |
| download | chouette-core-48b7e696ee4c273335889be3f68ad8f0a61ba8e9.tar.bz2 | |
Update for frequencies
Diffstat (limited to 'app/views/shared')
| -rw-r--r-- | app/views/shared/_form_messages.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/shared/_form_messages.html.erb b/app/views/shared/_form_messages.html.erb new file mode 100644 index 000000000..6eca2e69f --- /dev/null +++ b/app/views/shared/_form_messages.html.erb @@ -0,0 +1,7 @@ +<% if errors.any? %> + <% errors.full_messages.each do |message| %> + <div class="alert alert-danger" role="alert"> + <%= message %> + </div> + <% end %> +<% end %> |
