<%= f.error_messages %>
<%= flash_tag %>
<% content_for :button do %>
<% end %>
<%#= yield :button %>
<%= pagesubtitle %>
<%= required_notice_tag %>
<% @columns.each do |column| %>
<%= yield :button %>
<%= submit_button_tag(f, :value => '/images/btn_create.png') %>
<%= index_button_tag %>
<%= f.label column.name %><%#=hlabel @tablename.singularize, column.name %> | <% if ["id","created_at","updated_at"].include?(column.name) -%> <% if column.type.to_s == "datetime" -%> <%=hdate @database[column.name] -%> <% else -%> <%=h @database[column.name] -%> <% end -%> <% else -%> <%= f.text_field column.name -%> <% end -%> |
---|