如何为下面提到的代码定义 <span class="gender-span">
@Html.RadioButtonFor(m => m.Tagged, (int)TaggingType.All, new { @class = "radio-style", @name = "tag", @id = "track" })
<label for="track">@Resources.Track</label>
属性:
def SaveToDatabase(endpoint, data):
#data= {"user_id": msg['username'], "room_id": 1, "message": msg['payload']}
req = urllib2.Request(endpoint)
req.add_header('Content-Type', 'application/json')
urllib2.urlopen(req, json.dumps(data))
我想使用@ Html.Labelfor属性。现在请帮我解决这个问题