Sha256: 3b66f56fd48df5b1c1f697eb8f88f126c0c84b8fd2224781082f0266f5020afa

Contents?: true

Size: 563 Bytes

Versions: 6

Compression:

Stored size: 563 Bytes

Contents

<%
   form_action ||= :create
   cancel_link = true if cancel_link.nil?
   headline ||= active_scaffold_config.send(form_action).label(active_scaffold_config.add_sti_create_links? ? @record.class.model_name.human(count: 1) : nil)
%>
<%= render partial: 'base_form', locals: {xhr: xhr ||= nil,
                                          form_action: form_action,
                                          method: method ||= :post,
                                          cancel_link: cancel_link,
                                          headline: headline} %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
active_scaffold-4.0.2 app/views/active_scaffold_overrides/_create_form.html.erb
active_scaffold-4.0.1 app/views/active_scaffold_overrides/_create_form.html.erb
active_scaffold-4.0.0 app/views/active_scaffold_overrides/_create_form.html.erb
active_scaffold-4.0.0.rc3 app/views/active_scaffold_overrides/_create_form.html.erb
active_scaffold-4.0.0.rc2 app/views/active_scaffold_overrides/_create_form.html.erb
active_scaffold-4.0.0.rc1 app/views/active_scaffold_overrides/_create_form.html.erb