这是html
<div id="cart_table" style="width:800px; position:absolute;">
<h3>My Cart</h3>
Please check your shipping data and press "Place Order" to complete this order
</div>
和javascript
var cartTableTop = parseInt($('#cart_table').css(
水豚的行为真的很奇怪。
它根本找不到任何输入字段,ID,name或label。所以我改变了测试,只检查渲染了什么,得到了一个巨大的sass错误。
feature "new users are not admin" do
scenario "user signs up" do
visit new_user_registration_path
#fill_in "Username", :with => "newuser"
#fill_in "Email", with: &
我有一个应该从模板中验证的表单,两者都是这样的:
from django.shortcuts import render
from django.forms import Form
from django import forms
from django.http import HttpResponse
import MyIB.settings
import os
class MainForm(Form):
name = forms.CharField()
subject = forms.CharField()
text = forms.Textarea()