{include file="$template_path/html/header.html"}
{include file="$template_path/js/arc.html"}
{include file="$template_path/html/jstemplate.html"}
<script src="/mbthemes/scripts/canvas/animation.js"></script>
</head>
<body>
<div class="app" id="app">
  {include file="$template_path/html/mobile-nav.html"}
  <!-- content -->
  <div id="content" class="app-content box-shadow-z4" role="main">

    {include file="$template_path/html/pagenav.html"}
    <div ui-view class="app-body" id="view">
      <!-- ############ PAGE START-->


      <div class="clearfix white b-t">
        <div class="container">
          <div class="row-col">
            <div class="col-sm w-xl box w-auto-xs b-r b-l right-bar">
              {include file="$template_path/users/edit_nav.html"}
            </div>
            <div class="col-sm" id="taber">
              <div class="box pos-rlt b-r m-b-0">
                <div class="p-a">
                  {$errorMessage}
                  <div class="box-body" id="profile">
                    <form role="form" action="" method="post">
                      <fieldset>
                        <div class="form-group">
                          <label class="h6 p-b-xs" for="nickname">昵称</label>
                          <input id="nickname" class="form-control" name="nickname" required="true" type="text" value="{$smarty.post.nickname|escape}" />
                        </div>
                        <div class="form-group">
                          <label class="h6 p-b-xs" for="invoice_to">公司名称</label>
                          <input id="invoice_to" class="form-control" name="firmname" type="text" value="{$smarty.post.firmname|escape}" />
                          <small class="text-muted block m-t-xs">没有请留空</small>
                        </div>
                        <div class="form-group">
                          <label class="h6 p-b-xs" for="lives_in">所在城市</label>
                          <input id="lives_in" class="form-control" name="live_city" type="text" value="{$smarty.post.live_city|escape}" />
                          <small class="text-muted block m-t-xs">比如：北京</small>
                        </div>
                        <div class="form-group">
                          <label class="h6 p-b-xs" for="email">邮件地址</label>
                          <input id="email" class="form-control" name="email" value="{$smarty.post.email|escape}" type="text">
                        </div>
                        <div class="form-group">
                          <label class="h6 p-b-xs" for="country_id">国家或地区</label>
                          <select class="form-control" name="country_id">
                            <option value="">不显示我的国家</option>
                            {if $countries}
                            {foreach from=$countries item=c}
                            <option value="{$c.id}" {if $smarty.post.country_id == $c.id}selected="selected"{/if}>{$c.name}</option>
                            {/foreach}
                            {/if}
                          </select>
                          <small class="text-muted block m-t-xs">选择国家或地区后将显示相应的旗帜徽章</small>
                        </div>
                        <div class="form-group">
                          <label class="h6 p-b-xs" for="address">详细地址</label>
                          <input id="address" class="form-control" name="address" value="{$smarty.post.address|escape}" type="text">
                        </div>
                        <div class="form-group">
                          <label class="md-check" for="available_for_freelance">
                            <input id="available_for_freelance" name="custom_made" type="checkbox" value="true" {if $smarty.post.custom_made == 'true'}checked="checked"{/if} />
                            <i class="skin"></i>
                            我是威客
                          </label>
                        </div>
                        <div class="form-group">
                          <label class="h6 p-b-xs" for="by_line">个性签名</label>
                          <input id="by_line" class="form-control" name="profile_title" type="text" value="{$smarty.post.profile_title|escape}" />
                        </div>
                        <div class="form-group m-t-md m-b-0">
                          <input type="hidden" name="personal_edit" value="yes" />
                          <button id="personal_info_submit_button" class="btn skin b-skin" type="submit">保存</button>
                        </div>
                      </fieldset>
                    </form>
                  </div>
                </div>
              </div>



            </div>
          </div>
        </div>
      </div>


    </div>
    <!-- ############ PAGE END-->
    {include file="$template_path/html/footer.html"}
  </div>
  {include file="$template_path/html/backtop.html"}
  {include file="$template_path/html/mb-settings.html"}
  <!-- ############ LAYOUT END-->
</div>
{literal}
<style>
  .right-bar.fix .box-bar {
    top: 0;
    width: 278px;
  }
</style>
{/literal}
</body>
</html>