diff --git a/sass/_project-sass/_project-Website-Gallery.scss b/sass/_project-sass/_project-Website-Gallery.scss index af76366b..0a9b75e0 100644 --- a/sass/_project-sass/_project-Website-Gallery.scss +++ b/sass/_project-sass/_project-Website-Gallery.scss @@ -87,6 +87,21 @@ } } } + + .admin { + font-size: 80%; + form { + display: inline; + padding-right: 10px; + } + + button { + background:none!important; + border:none; + padding:0!important; + cursor: pointer; + } + } } .neo-SS, .z{ diff --git a/views/browse.erb b/views/browse.erb index 29b17357..257e1241 100644 --- a/views/browse.erb +++ b/views/browse.erb @@ -94,6 +94,21 @@ <% end %> <% end %> + <% if signed_in? && current_site.is_admin %> +
+
+ <%== csrf_token_input_html %> + + +
+ +
+ <%== csrf_token_input_html %> + + +
+
+ <% end %> <% end %>