summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/templates/my/profiles/show.jst.ejs
blob: 7e861e11965d3ac1bb4535cf7399aff7f8794855 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<h1>Public Profile</h1>
<hr />
<div id="status-message" class="alert alert-dismissible alert-danger hide" role="alert">
  <button type="button" class="close" data-dismiss="alert" aria-label="Close">
    <span aria-hidden="true">&times;</span>
  </button>
</div>

<form id="profile-form" class="form-horizontal">
  <div class="form-group">
    <label class="" for="user_name">Name</label>
    <input class="form-control" id="user_name" name="user[name]" type="text" value="<%= name %>" required="required">
    <span class="help-inline"></span>
  </div>
  <div class="form-group">
    <label class="" for="user_email">Email</label>
    <input class="form-control" id="user_email" name="user[email]" type="email" value="<%= email %>" required="required">
    <span class="help-inline"></span>
  </div>
  <div class="form-group">
    <label class="" for="user_website">URL</label>
    <input class="form-control url" id="user_website" name="user[website]" placeholder="https://www.cakeside.com" type="url" value="<%= website %>">
    <span class="help-inline"></span>
  </div>
  <div class="form-group">
    <label class="" for="user_city">Location</label>
    <input class="form-control" id="user_city" name="user[city]" type="text" value="<%= city %>">
    <span class="help-inline"></span>
  </div>
  <div class="form-group">
    <label class="" for="user_twitter">Twitter username</label>
    <div class="input-group">
      <span class="input-group-addon">@</span>
      <input class="form-control" id="user_twitter" maxlength="15" name="user[twitter]" placeholder="" size="255" type="text" value="<%= twitter %>">
    </div>
    <span class="help-inline"></span>
  </div>
  <div class="form-group">
    <label class="" for="user_facebook">Facebook</label>
    <input class="form-control" id="user_facebook" maxlength="255" name="user[facebook]" placeholder="https://www.facebook.com/your_profile" size="255" type="text" value="<%= facebook %>">
    <span class="help-inline"></span>
  </div>
  <input id="save-button" type="submit" class="btn btn-primary" value="Update profile">
  <button id="cancel-button" type="reset" class="btn">Cancel</button>
</form>