logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

_form.html.haml (273B)


  1. = simple_form_for(@<%= singular_table_name %>) do |f|
  2. = f.error_notification
  3. .form-inputs
  4. <%- attributes.each do |attribute| -%>
  5. = f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %>
  6. <%- end -%>
  7. .form-actions
  8. = f.button :submit