Sha256: d7095ccb3a489fa0efceb00c93cf949db24e91979265a4f3b9ed91130cb5b830

Contents?: true

Size: 334 Bytes

Versions: 11

Compression:

Stored size: 334 Bytes

Contents

<%%
  submit_label = "Update"
  submit_label = "Create" if @<%= resource_name %>.new_record?
-%>

<%%= error_messages_for @<%= resource_name %> %>

<%% form_for(:<%= resource_name %>, :action => url(:<%= resource_name %>, @<%= resource_name %>)) do %>
  <%%= partial :data %>
  <p> <%%= submit_button submit_label %> </p>
<%% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
stage-0.2.0 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb
stage-0.1.10 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb
stage-0.4.1 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb
stage-0.4.2 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb
stage-0.3.2 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb
stage-0.4.3 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb
stage-0.4.0 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb
stage-0.4.4 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb
stage-0.4.5 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb
stage-0.1.9 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb
stage-0.3.1 merb_generators/stage/templates/app/views/%controller_file_name%/_form.html.erb