Sha256: ad43fe20c64b75a0aababa24e654ba1dbca18a0e20bc8503b0ff7db19f951b26
Contents?: true
Size: 927 Bytes
Versions: 230
Compression:
Stored size: 927 Bytes
Contents
<% @custom ||= Relation::Custom.new(:actor_id => current_subject.actor_id) %> <%= form_for @custom, :remote => true do |f| %> <%= f.hidden_field :actor_id %> <% if @custom.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@custom.errors.count, "error") %> prohibited this custom relation from being saved:</h2> <ul> <% @custom.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <p><%= f.text_field :name, :class => "privacy_input_new", :size => 20 %></p> <%= f.submit nil, :class => "button" %> <button class="button" id="cancel_new_relation_custom" ><%= t('button.cancel') %></button> <% end %> <%= javascript_tag do %> $("#cancel_new_relation_custom").click(function() { $("#new_relation_custom_input_block").hide(); $("#new_relation_custom_title_block").show(); return false; }); <% end %>
Version data entries
230 entries across 230 versions & 4 rubygems