Sha256: 6b724cd5af10c5756508207447eec569fe721753f6c48372720e010d0a1dd8e5

Contents?: true

Size: 877 Bytes

Versions: 55

Compression:

Stored size: 877 Bytes

Contents

<div id="share_tool" class="tool" style="display:none;">
  <div id="share_tool_close_wrapper" class="close_link_wrapper">
    <a href="#" id="share_tool_close" class="close_link"><%= t('muck.services.hide')%></a>
  </div>
  <div class="tools_container">
    <div id="shares_control">
      <h2><%= t('muck.shares.share_title') %></h2>
      <% if logged_in? -%>
        <% if already_shared_entry?(current_user, @entry) -%>
          <%= t('muck.services.already_shared') %>
        <% end -%>
        <%= output_errors(t('muck.shares.problem_adding_share'), {:class => 'help-box'}, @share) %>
        <% share_form(@share) do |f| -%>
          <%= f.hidden_field :entry_id -%>
          <%= hidden_field_tag :render_new, false -%>
        <% end -%>
      <% else -%>
        <%= link_to t('muck.shares.login_prompt'), login_path %>
      <% end -%>
    </div>
  </div>
</div>

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
muck-services-3.3.3 app/views/visits/_share_tool.html.erb
muck-services-3.3.2 app/views/visits/_share_tool.html.erb
muck-services-3.3.1 app/views/visits/_share_tool.html.erb
muck-services-3.3.0 app/views/visits/_share_tool.html.erb
muck-services-3.2.2 app/views/visits/_share_tool.html.erb
muck-services-3.2.1 app/views/visits/_share_tool.html.erb
muck-services-3.2.0 app/views/visits/_share_tool.html.erb
muck-services-3.1.1 app/views/visits/_share_tool.html.erb
muck-services-3.1.0 app/views/visits/_share_tool.html.erb
muck-services-0.1.47 app/views/visits/_share_tool.html.erb
muck-services-3.0.0 app/views/visits/_share_tool.html.erb
muck-services-0.1.46 app/views/visits/_share_tool.html.erb
muck-services-0.1.45 app/views/visits/_share_tool.html.erb
muck-services-0.1.44 app/views/visits/_share_tool.html.erb
muck-services-0.1.43 app/views/visits/_share_tool.html.erb
muck-services-0.1.42 app/views/visits/_share_tool.html.erb
muck-services-0.1.41 app/views/visits/_share_tool.html.erb
muck-services-0.1.40 app/views/visits/_share_tool.html.erb
muck-services-0.1.39 app/views/visits/_share_tool.html.erb
muck-services-0.1.38 app/views/visits/_share_tool.html.erb