Sha256: c3d6cd565cc0630510d509cd975d64268f3cedb9131c0e7b4ef3148a6aa56488

Contents?: true

Size: 790 Bytes

Versions: 16

Compression:

Stored size: 790 Bytes

Contents

<%= div_for custom do %>
  <%= radio_button_tag :relation_custom,
    custom.id,
    false,
    :id => "input_#{ dom_id custom }" %>
  <%= label_tag "input_#{ dom_id custom }", custom.name %>

  <div class="actions">
    <%= link_to '#', class: "edit" do %>
      <i class="icon_tool16-edit"></i>
    <% end %>

    <%= link_to custom, class: "delete", method: :delete, confirm: t('relation_custom.confirm_delete'), remote: true do %>
      <i class="icon_tool16-trash"></i>
    <% end %>
  </div>

  <div class="edit_name">
    <%= form_for custom, url: polymorphic_path(custom, section: 'name'), :remote => true do |f| %>
      <%= f.text_field :name %>

      <%= link_to '#', class: "submit" do %>
        <i class="icon_tool16-ok"></i>
      <% end %>
    <% end %>
  </div>
<% end %>

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
social_stream-2.0.4 base/app/views/relation/customs/_custom.html.erb
social_stream-base-2.0.4 app/views/relation/customs/_custom.html.erb
social_stream-2.0.3 base/app/views/relation/customs/_custom.html.erb
social_stream-base-2.0.3 app/views/relation/customs/_custom.html.erb
social_stream-2.0.2 base/app/views/relation/customs/_custom.html.erb
social_stream-base-2.0.2 app/views/relation/customs/_custom.html.erb
social_stream-2.0.1 base/app/views/relation/customs/_custom.html.erb
social_stream-base-2.0.1 app/views/relation/customs/_custom.html.erb
social_stream-2.0.0 base/app/views/relation/customs/_custom.html.erb
social_stream-base-2.0.0 app/views/relation/customs/_custom.html.erb
social_stream-2.0.0.beta3 base/app/views/relation/customs/_custom.html.erb
social_stream-base-2.0.0.beta3 app/views/relation/customs/_custom.html.erb
social_stream-2.0.0.beta2 base/app/views/relation/customs/_custom.html.erb
social_stream-base-2.0.0.beta2 app/views/relation/customs/_custom.html.erb
social_stream-2.0.0.beta1 base/app/views/relation/customs/_custom.html.erb
social_stream-base-2.0.0.beta1 app/views/relation/customs/_custom.html.erb