mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
syntax fix
This commit is contained in:
parent
4e7e261225
commit
aad2eadeae
2 changed files with 3 additions and 3 deletions
|
@ -22,11 +22,11 @@ module SearchHelper
|
|||
if search_org != current_organization
|
||||
link_to text,
|
||||
path,
|
||||
:class => 'btn btn-primary',
|
||||
class: 'btn btn-primary',
|
||||
data: { confirm: t('users.settings.changed_org_in_search',
|
||||
team: search_org.name) }
|
||||
else
|
||||
link_to text, path, :class => 'btn btn-primary'
|
||||
link_to text, path, class: 'btn btn-primary'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<% end %>
|
||||
<% if can_view_protocol(protocol) %>
|
||||
<%= link_to text, '#', 'data-action' => 'protocol-preview', 'data-url' => preview_protocol_path(protocol) %>
|
||||
<%= link_to text, '#', 'data-action': 'protocol-preview', 'data-url': preview_protocol_path(protocol) %>
|
||||
<% else %>
|
||||
<%= text %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue