summaryrefslogtreecommitdiff
path: root/app/views/tutorials
diff options
context:
space:
mode:
authormo k <mo@mokhan.ca>2012-10-02 07:02:14 -0600
committermo k <mo@mokhan.ca>2012-10-02 07:02:14 -0600
commitdbc3f7797af66287f48d827b00fd888214a7d2fe (patch)
tree39fed0b0b70ca1f4f7a1da5b34fca078e857fc30 /app/views/tutorials
parent94705107d78b92a6f9499b83517b8071a95ea16a (diff)
add author and author url to the new tutorial page.
Diffstat (limited to 'app/views/tutorials')
-rw-r--r--app/views/tutorials/_form.html.erb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/tutorials/_form.html.erb b/app/views/tutorials/_form.html.erb
index 69a62428..b52bacbe 100644
--- a/app/views/tutorials/_form.html.erb
+++ b/app/views/tutorials/_form.html.erb
@@ -34,6 +34,18 @@ $(function(){
</div>
</div>
<div class="control-group">
+ <%= f.label :author, :class => "control-label" %>
+ <div class="controls">
+ <%= f.text_field :author, :class => "input-xlarge, tutorial-author" %>
+ </div>
+ </div>
+ <div class="control-group">
+ <%= f.label :author_url, :class => "control-label" %>
+ <div class="controls">
+ <%= f.text_field :author_url, :class => "input-xlarge, tutorial-author-url" %>
+ </div>
+ </div>
+ <div class="control-group">
<%= f.label :description, :class => "control-label" %>
<div class="controls">
<%= f.text_area :description, :class => "input-xlarge, tutorial-description" %>