{include file="$template_path/html/header.html"}
</head>
<body class="bg-lgray">
{include file="$template_path/html/pagenav.html"}

<section class="clearfix">
  <div class="container pos-rlt p-t-md m-t-sm m-b-lg m-xs-t-none m-xs-b-none">


    {$errorMessage}

    <div class="row">

      <div class="col-xs-12 col-sm-12 col-md-6 col-md-offset-3 m-t-lg m-b-lg m-xs-t-none m-xs-b-none">
        <section class="panel no-shadow p-t-sm m-t-lg m-b-lg m-xs-t-none m-xs-b-md">
          <div class="panel-heading text-black h3 h3-xs">选择发布主分类</div>
          <div class="panel-body">
            <form id="begin-upload" action="/{$languageURL}upload/form/" method="get">
              <div class="radiogroup clearfix m-b-md">
                {if $mainCategories}
                {foreach from=$mainCategories item=c name=foo}
                <label class="radio-inline i-checks" for="category_{$c.id}">
                  <input type="radio" name="category"{if $smarty.foreach.foo.first} checked="checked"{/if} id="category_{$c.id}" value="{$c.id}"> <i></i> {$c.name}
                </label>
                {/foreach}
                {/if}
              </div>
              <button type="submit" class="btn btn-success btn-block">下一步</button>
            </form>
          </div>

        </section>

      </div>


    </div>
</section>


</body>
</html>