Sha256: a3acd9b9130940877e89556d6768fae40b787c1ce8c78bda0b67c6e2aa1ba946
Contents?: true
Size: 811 Bytes
Versions: 14
Compression:
Stored size: 811 Bytes
Contents
<%- if @link.new_record? submission_path = event_links_path(@event) method = 'post' else submission_path = event_link_path(@event, @link) method = 'put' end -%> <%= semantic_form_for(@link, :html => {:class => 'dynamic', :id => 'link_dynamic_form'}, :url => submission_path, :method => 'put') do |form| %> <%= form.inputs do %> <input type="hidden" name="_method" value="<%= method %>"> <%= form.input :name, :hint => "Your External Resource" %> <%= form.input :url, :label => 'URL', :hint => "some.domain.tld or http://some.dom..." %> <%= form.input :description, :hint => 'Statistics, Analysis and News regarding the sudden and unexpected rise in the population of water molecules.' %> <%= form.submit %> <input type="reset" class="cancel" value="Cancel"> <% end %> <% end %>
Version data entries
14 entries across 14 versions & 1 rubygems