Skip to content

Commit

Permalink
Merge branch 'master' of github.com:concerto/concerto into revised_in…
Browse files Browse the repository at this point in the history
…fo_arch
  • Loading branch information
brzaik committed Jul 6, 2012
2 parents 306f8f9 + f31e280 commit 9b2cf79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/views/contents/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="row-fluid">
<div class="span2 collapse-right">
<br /><br />
<ul class="nav nav-tabs nav-stacked nav-drawer-left nav-dark">
<ul class="nav nav-tabs nav-stacked nav-drawer-left">
<li class="nav-header">Add content type:</li>
<% content_types.each do |subclass| %>
<li<% if @content.class.to_s == subclass.model_name.human %> class="active"<% end %>>
Expand Down
11 changes: 6 additions & 5 deletions app/views/templates/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<div class="row-fluid">
<div class="span2">
<h3>Select way to add template:</h3>
<ul>
<li><%= link_to "Create from Scratch", new_template_path(:type=> "create") %></li>
<li><%= link_to "Import Existing", new_template_path(:type=> "import") %></li>
<div class="span2 collapse-right">
<br /><br />
<ul class="nav nav-tabs nav-stacked nav-drawer-left">
<li class="nav-header">Add template by:</li>
<li<% if @type == "create" %> class="active"<% end %>><%= link_to "Creating from Scratch", new_template_path(:type=> "create") %></li>
<li<% if @type == "import" %> class="active"<% end %>><%= link_to "Importing Existing", new_template_path(:type=> "import") %></li>
</ul>
</div>
<div class="span10">
Expand Down

0 comments on commit 9b2cf79

Please sign in to comment.