Sha256: 37e7f1d287830bcb083d29b78ee3cffaf789981d0090d95997b58a8e241dbb7f

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

%h1.heading
  = "Editing <%= model_singular_name %> %s" % <%= resource_instance %>.id
  
<% if options[:formtastic] -%>
- semantic_form_for(<%= resource_instance %>) do |form|
  = render 'form', :form => form
  - form.buttons do
    = form.commit_button 'Update'
<% else -%>
- form_for(<%= resource_instance %>) do |form|
  = form.error_messages
  = render 'form', :form => form
  %p.buttons
    = form.submit 'Update'
<% end -%>
    
%p.actions
  = link_to 'Cancel', <%= index_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry_scaffold-0.3.8 generators/dry_scaffold/templates/views/haml/edit.html.haml