Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= f.button do %>
- <i class="icon-save"></i> <%= "#{f.object.new_record? ? 'Create' : 'Update'} #{f.object.class.model_name.human}" %>
- <% end %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement