d0363f3eb1
Refactored the store initialisers to better propogate errors upwards. Moved the user initialisation logic to a method on *User. Added the Reload and GlobalCount methods to the GroupStore. Added the CacheSet method to the GroupCache. Renamed plugin_socialgroups to plugin_guilds 3/3
35 lines
1.0 KiB
HTML
35 lines
1.0 KiB
HTML
{{template "header.html" . }}
|
|
<main>
|
|
|
|
<div class="rowblock rowhead">
|
|
<div class="rowitem"><h1>Create Guild</h1></div>
|
|
</div>
|
|
<div class="rowblock">
|
|
<form action="/guild/create/submit/" method="post">
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>Guild Name</a></div>
|
|
<div class="formitem"><input name="group_name" type="text" placeholder="Group Name" /></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>Description</a></div>
|
|
<div class="formitem"><input name="group_desc" type="text" placeholder="Description" /></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>Visibility</a></div>
|
|
<div class="formitem">
|
|
<select name="group_privacy">
|
|
<option val="0">Public</option>
|
|
<option val="1">Protected</option>
|
|
<option val="2">Private</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem"><button name="group_button" class="formbutton">Create Guild</button></div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</main>
|
|
{{template "footer.html" . }}
|