Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mfebrianto/5450a24cedeaa3d36cb9 to your computer and use it in GitHub Desktop.
Save mfebrianto/5450a24cedeaa3d36cb9 to your computer and use it in GitHub Desktop.
<!-- path of this file : required_field_style/app/views/accounts/new.html.erb -->
<% form_for (@account), :url => '' do |f| %>
<%= f.label :account_no %><br />
<%= f.text_field :account_no %><br />
<%= f.label :company_name %><br />
<%= f.text_field :company_name %><br />
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment