hides the annotator adder when the user is not logged in
This commit is contained in:
@@ -15,6 +15,14 @@
|
||||
sizes: "200x200",
|
||||
type: "image/png" %>
|
||||
<%= content_for :social_media_meta_tags %>
|
||||
<% unless user_signed_in? %>
|
||||
<style type="text/css">
|
||||
.annotator-adder {
|
||||
border: 1px solid red;
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<% end %>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
<% unless user_signed_in? %>
|
||||
<style type="text/css">
|
||||
.annotator-adder { display: none; }
|
||||
</style>
|
||||
<% end %>
|
||||
|
||||
<section data-annotatable-type="legislation"
|
||||
data-annotatable-id="<%= @legislation.id %>">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user