Sha256: d17b7e66e66340bf7c6456f583cd23b8887f7c2dd5a3ab1a828bbcbfb176751a

Contents?: true

Size: 919 Bytes

Versions: 9

Compression:

Stored size: 919 Bytes

Contents

<div id="<%= share.dom_id %>_new_share" class="share-form-wrapper">
  <% custom_form_for(share, :url => user_shares_path(current_user), :html => { :id => "#{share.dom_id}_share_form", :class => "share-form"} ) do |f| -%>
    <% if defined?(include_share_to) -%>
      <div id="share_to">
        <%= f.text_field :to %>
      </div>
    <% end -%>
    <div id="share_information">
      <%= f.text_field :title, { :label => t('muck.shares.title') } -%>
      <%= f.text_field :uri, { :label => t('muck.shares.uri') } -%>
    </div>
    <div id="share_message">
      <%= f.text_area :message, { :label => t('muck.shares.message'),
                                  :class => 'min' } %>
    </div>
    <%= capture(f, &block) %>
    <div class="button form-row">
      <%= f.submit t('muck.shares.add_share_button'), :class => "button share-submit", :id => "share_submit_#{share.dom_id}" %>
    </div>
  <% end -%>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
muck-shares-3.0.0 app/views/shares/_form.html.erb
muck-shares-0.1.8 app/views/shares/_form.html.erb
muck-shares-0.1.7 app/views/shares/_form.html.erb
muck-shares-0.1.6 app/views/shares/_form.html.erb
muck-shares-0.1.5 app/views/shares/_form.html.erb
muck-shares-0.1.4 app/views/shares/_form.html.erb
muck-shares-0.1.1 app/views/shares/_form.html.erb
muck-shares-0.1.2 app/views/shares/_form.html.erb
muck-shares-0.1.3 app/views/shares/_form.html.erb