_form.html.haml revision f09f213473bc50378e9630c851e7ab4c1db07d1b
= semantic_form_for [parent, request.post? ? resource : Metadatum.new], remote: true do |f|
= f.inputs do
= f.input :key, required: true, :as => :url
= f.input :value, required: true
= f.actions do
= f.action :submit, :button_html => { 'data-disable-with' => t(:wait) }